Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,776 in github.com/cowprotocol/services
⨍
Functions
10,776
◇
Types & classes
3,479
Method
from_graph_data
(pool: &PoolData, block_created: u64)
crates/liquidity-sources/src/balancer_v2/pools/composable_stable.rs:23
Method
from_graph_data
(pool: &PoolData, block_created: u64)
crates/liquidity-sources/src/balancer_v2/pools/liquidity_bootstrapping.rs:26
Method
from_graph_data
(pool: &PoolData, block_created: u64)
crates/liquidity-sources/src/balancer_v2/pools/weighted.rs:47
Method
from_graph_data
(pool: &PoolData, block_created: u64)
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:26
Method
from_high_precision
The inverse of [`Self::to_high_precision`]: builds the factor from an integer on the high precision grid, so 30 -> 0.00003.
crates/configs/src/fee_factor.rs:40
Method
from_insertion
(err: InsertionError, order: &Order)
crates/orderbook/src/orderbook.rs:169
Method
from_integer
Intended for easier uid creation in tests.
crates/model/src/order.rs:711
Method
from_iter
(iter: T)
crates/eth-domain-types/src/access_list.rs:46
Method
from_jit
(mut fulfillment: Fulfillment)
crates/driver/src/tests/setup/blockchain.rs:130
Method
from_json
(value: serde_json::Value)
crates/autopilot/src/domain/competition/winner_selection.rs:977
Method
from_logs
The custom error a failed transaction's logs report. The runtime logs `Program <id> failed: custom program error: 0x<code>` for every frame the error
crates/solana-driver/src/domain/program_error.rs:62
Method
from_order
(o: &Order)
crates/account-balances/src/lib.rs:31
Method
from_order
Returns a ratio of an order assuming it has sufficient balance.
crates/shared/src/remaining_amounts.rs:43
Method
from_order
( order: &dex::Order, chain_name: ChainName, settlement_contract: eth::Address,
crates/solvers/src/infra/dex/bitget/dto.rs:90
Method
from_order_creation
( owner: Address, order: &OrderData, signing_scheme: SigningScheme, )
crates/shared/src/order_validation.rs:472
Method
from_order_with_balance
Returns a ratio of an order with the specified available balance.
crates/shared/src/remaining_amounts.rs:48
Method
from_parts
Create a UID from its parts.
crates/model/src/order.rs:718
Method
from_parts
(order_hash: eth::B256, owner: eth::Address, valid_to: u32)
crates/driver/src/domain/competition/order/mod.rs:244
Method
from_path
(path: P)
crates/configs/src/autopilot/mod.rs:202
Method
from_path
(path: P)
crates/configs/src/orderbook/mod.rs:152
Method
from_path
(path: &Path)
crates/pool-indexer/src/config.rs:189
Method
from_quote
(quote_response: &OrderQuoteResponse, valid_to: u32)
crates/e2e/tests/e2e/ethflow.rs:874
Method
from_raw
Creates a new pool fee for the specified raw [`eth::U256`] value. This method expects a fee represented as `f * 1e18`. That is, a fee of 100% is creat
crates/driver/src/domain/liquidity/balancer/v2/mod.rs:35
Method
from_raw
Creates a new token weight for the specified raw [`eth::U256`] value. This method expects a weight represented as `w * 1e18`. That is, a weight of 1 i
crates/driver/src/domain/liquidity/balancer/v2/weighted.rs:116
Method
from_request
(req: Request<Body>, state: &S)
crates/solana-driver/src/infra/api/extract.rs:24
Method
from_request
(req: Request<Body>, state: &S)
crates/solana-solvers/src/extract.rs:26
Method
from_request
(request: Request, state: &S)
crates/solana-orderbook/src/infra/api/extract.rs:74
Method
from_request
(req: Request, state: &S)
crates/driver/src/infra/api/extract.rs:32
Method
from_request_parts
(parts: &mut Parts, state: &S)
crates/solana-orderbook/src/infra/api/extract.rs:18
Method
from_request_parts
(parts: &mut Parts, state: &S)
crates/driver/src/infra/api/extract.rs:58
Method
from_sdk
(instruction: SolInstruction)
crates/solana-solvers/src/dto/solution.rs:215
Method
from_set
Creates a new `Users` instance that passes all addresses except for the ones in `list`.
crates/order-validation/src/banned/mod.rs:39
Method
from_str
(s: &str)
crates/configs/src/fee_factor.rs:69
Method
from_str
(s: &str)
crates/liquidity-sources/src/uniswap_v2/mod.rs:139
Method
from_str
(s: &str)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:70
Method
from_str
(s: &str)
crates/chain-types/src/solana.rs:40
Method
from_str
(s: &str)
crates/solana-driver/src/infra/api/routes/solve/dto/solve_request.rs:34
Method
from_str
(s: &str)
crates/solana-driver/src/domain/order_uid.rs:26
Method
from_str
(s: &str)
crates/app-data/src/app_data_hash.rs:63
Method
from_str
(s: &str)
crates/model/src/order.rs:739
Method
from_str
(s: &str)
crates/model/src/lib.rs:100
Method
from_str
(s: &str)
crates/solver/src/solver.rs:20
Method
from_str
(s: &str)
crates/solana-solvers/src/dto/order.rs:32
Method
from_str
(name: &str)
crates/fee-engine/src/fee.rs:64
Function
from_str_roundtrip_for_wire_keys
()
crates/solana-solvers/src/dto/solution.rs:512
Method
from_strategy
(strategy: Strategy, name: String)
crates/rate-limit/src/lib.rs:112
Method
from_subgraph_url
Creates a new Balancer subgraph client with full subgraph URL.
crates/liquidity-sources/src/balancer_v2/graph_api.rs:38
Method
from_swap
( Solver::Solver::swapReturn { gasUsed, queriedBalances, }: Solver::So
crates/price-estimation/src/trade_verifier.rs:725
Function
from_swap_accepts_expected_length
()
crates/price-estimation/src/trade_verifier.rs:1153
Function
from_swap_returns_error_on_short_balances
()
crates/price-estimation/src/trade_verifier.rs:1134
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/izeroex/src/lib.rs:71
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/cowswaponchainorders/src/lib.rs:661
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:2205
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:71
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:75
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:1181
Method
from_underlying
(value: u8)
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:69
Method
from_wei
(num: U256)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:131
Function
fulfillment_unknown_uid_error_includes_uid
()
crates/driver/src/infra/solver/dto/solution.rs:385
Method
full
(order: Order)
crates/solver/src/liquidity/mod.rs:176
Function
full_body_needs_compression
Whether the full `/solve` body needs a compressed copy. Delta drivers receive the full body on checkpoint auctions, so any driver accepting compressio
crates/autopilot/src/run_loop.rs:1185
Method
full_execution_amount
Returns the full execution amount for the specified limit order.
crates/solver/src/liquidity/mod.rs:143
Function
full_request_is_tagged
()
crates/autopilot/src/infra/solvers/dto/solve.rs:676
Function
funded_sell_account
The sell token account of `order()`, holding and approving its sell amount.
crates/autopilot-svm/src/infra/provider.rs:938
Method
gas
The gas used by the settlement.
crates/autopilot/src/domain/settlement/mod.rs:77
Method
gas
Simulate the gas needed by a single order DEX swap. This will return a `None` if the gas simulation is unavailable.
crates/solvers/src/infra/dex/simulator.rs:41
Method
gas_cost
(&self)
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:195
Method
gas_cost
(&self)
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:152
Method
gas_cost
(&self)
crates/solver/src/solver.rs:40
Method
gas_cost
(&self)
crates/solvers/src/boundary/routing.rs:24
Method
gas_cost
(&self)
crates/solvers/src/boundary/liquidity/concentrated.rs:76
Method
gas_cost
(&self)
crates/solvers/src/boundary/liquidity/limit_order.rs:44
Function
gas_costs
(ex: &mut PgConnection)
crates/database/src/trades.rs:740
Function
gas_estimator_alloy_all_custom
()
crates/driver/src/infra/config/file/mod.rs:1294
Function
gas_estimator_alloy_custom_past_blocks
()
crates/driver/src/infra/config/file/mod.rs:1250
Function
gas_estimator_alloy_custom_percentile
()
crates/driver/src/infra/config/file/mod.rs:1272
Function
gas_estimator_alloy_defaults
()
crates/driver/src/infra/config/file/mod.rs:1229
Function
gas_estimator_default
()
crates/driver/src/infra/config/file/mod.rs:1329
Function
gas_estimator_type_from_config
( config: &configs::shared::GasEstimatorType, )
crates/shared/src/arguments.rs:120
Function
gas_estimator_web3
()
crates/driver/src/infra/config/file/mod.rs:1317
Function
gas_limit
(web3: Web3)
crates/e2e/tests/e2e/hooks.rs:58
Method
gas_price
The effective gas price at the time of settlement.
crates/autopilot/src/domain/settlement/mod.rs:82
Function
gas_simulation
Expectation for the `eth_call` simulating a DEX swap. Responds with the given amount of gas used by the swap.
crates/solvers/src/tests/mock/node.rs:7
Method
gatom
Converts this value from Gwei to wei (multiplies by 1e9).
crates/number/src/units.rs:13
Method
generate
(&self, n: usize)
crates/autopilot/src/database/auction.rs:160
Function
generates_incrementing_request_id_when_header_missing
()
crates/observe/src/tracing/distributed/request_id.rs:238
Method
get
Get the inner value
crates/configs/src/autopilot/penalty_cap.rs:64
Method
get
()
crates/leader-lock/src/leader_lock_tracker.rs:101
Method
get
(&self)
crates/driver/src/util/percent.rs:8
Method
get
(self)
crates/number/src/nonzero.rs:19
Method
get
()
crates/autopilot/src/fast_path.rs:644
Method
get
()
crates/autopilot/src/periodic_db_cleanup.rs:62
Method
get
(&self, id: QuoteId)
crates/autopilot/src/database/auction.rs:37
Method
get
()
crates/autopilot/src/domain/mod.rs:33
Method
get
Get the reserve assets.
crates/solvers/src/domain/liquidity/constant_product.rs:58
Method
get
Returns the wrapped token pair as a tuple.
crates/solvers/src/domain/liquidity/mod.rs:50
Method
get
()
crates/orderbook/src/orderbook.rs:87
Method
get
(&self, id: QuoteId)
crates/orderbook/src/database/quotes.rs:25
Method
getAmplificationParameter
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5573
Method
getBasefee
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4024
← previous
next →
7,101–7,200 of 10,776, ranked by callers