MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,747 in github.com/cowprotocol/services

Methodfrom_order_creation
( owner: Address, order: &OrderData, signing_scheme: SigningScheme, )
crates/shared/src/order_validation.rs:472
Methodfrom_order_with_balance
Returns a ratio of an order with the specified available balance.
crates/shared/src/remaining_amounts.rs:48
Methodfrom_parts
Create a UID from its parts.
crates/model/src/order.rs:718
Methodfrom_parts
(order_hash: eth::B256, owner: eth::Address, valid_to: u32)
crates/driver/src/domain/competition/order/mod.rs:244
Methodfrom_path
(path: P)
crates/configs/src/autopilot/mod.rs:202
Methodfrom_path
(path: P)
crates/configs/src/orderbook/mod.rs:152
Methodfrom_path
(path: &Path)
crates/pool-indexer/src/config.rs:189
Methodfrom_quote
(quote_response: &OrderQuoteResponse, valid_to: u32)
crates/e2e/tests/e2e/ethflow.rs:874
Methodfrom_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
Methodfrom_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
Methodfrom_request
(req: Request<Body>, state: &S)
crates/solana-driver/src/infra/api/extract.rs:24
Methodfrom_request
(req: Request<Body>, state: &S)
crates/solana-solvers/src/extract.rs:26
Methodfrom_request
(request: Request, state: &S)
crates/solana-orderbook/src/infra/api/extract.rs:74
Methodfrom_request
(req: Request, state: &S)
crates/driver/src/infra/api/extract.rs:32
Methodfrom_request_parts
(parts: &mut Parts, state: &S)
crates/solana-orderbook/src/infra/api/extract.rs:18
Methodfrom_request_parts
(parts: &mut Parts, state: &S)
crates/driver/src/infra/api/extract.rs:58
Methodfrom_sdk
(instruction: SolInstruction)
crates/solana-solvers/src/dto/solution.rs:215
Methodfrom_set
Creates a new `Users` instance that passes all addresses except for the ones in `list`.
crates/order-validation/src/banned/mod.rs:58
Methodfrom_str
(s: &str)
crates/configs/src/fee_factor.rs:69
Methodfrom_str
(s: &str)
crates/liquidity-sources/src/uniswap_v2/mod.rs:139
Methodfrom_str
(s: &str)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:70
Methodfrom_str
(s: &str)
crates/chain-types/src/solana.rs:40
Methodfrom_str
(s: &str)
crates/solana-driver/src/infra/api/routes/solve/dto/solve_request.rs:34
Methodfrom_str
(s: &str)
crates/solana-driver/src/domain/order_uid.rs:26
Methodfrom_str
(s: &str)
crates/app-data/src/app_data_hash.rs:63
Methodfrom_str
(s: &str)
crates/model/src/order.rs:739
Methodfrom_str
(s: &str)
crates/model/src/lib.rs:100
Methodfrom_str
(s: &str)
crates/solver/src/solver.rs:20
Methodfrom_str
(s: &str)
crates/solana-solvers/src/dto/order.rs:32
Methodfrom_str
(name: &str)
crates/fee-engine/src/fee.rs:64
Functionfrom_str_roundtrip_for_wire_keys
()
crates/solana-solvers/src/dto/solution.rs:512
Methodfrom_strategy
(strategy: Strategy, name: String)
crates/rate-limit/src/lib.rs:112
Methodfrom_subgraph_url
Creates a new Balancer subgraph client with full subgraph URL.
crates/liquidity-sources/src/balancer_v2/graph_api.rs:38
Methodfrom_swap
( Solver::Solver::swapReturn { gasUsed, queriedBalances, }: Solver::So
crates/price-estimation/src/trade_verifier.rs:725
Functionfrom_swap_accepts_expected_length
()
crates/price-estimation/src/trade_verifier.rs:1153
Functionfrom_swap_returns_error_on_short_balances
()
crates/price-estimation/src/trade_verifier.rs:1134
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/izeroex/src/lib.rs:71
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/cowswaponchainorders/src/lib.rs:661
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:2205
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:71
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:75
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:1181
Methodfrom_underlying
(value: u8)
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:69
Methodfrom_wei
(num: U256)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:131
Functionfulfillment_unknown_uid_error_includes_uid
()
crates/driver/src/infra/solver/dto/solution.rs:385
Methodfull
(order: Order)
crates/solver/src/liquidity/mod.rs:176
Functionfull_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:1101
Methodfull_execution_amount
Returns the full execution amount for the specified limit order.
crates/solver/src/liquidity/mod.rs:143
Functionfull_request_is_tagged
()
crates/autopilot/src/infra/solvers/dto/solve.rs:676
Functionfunded_sell_account
The sell token account of `order()`, holding and approving its sell amount.
crates/autopilot-svm/src/infra/provider.rs:938
Methodgas
The gas used by the settlement.
crates/autopilot/src/domain/settlement/mod.rs:77
Methodgas
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
Methodgas_cost
(&self)
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:195
Methodgas_cost
(&self)
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:152
Methodgas_cost
(&self)
crates/solver/src/solver.rs:40
Methodgas_cost
(&self)
crates/solvers/src/boundary/routing.rs:24
Methodgas_cost
(&self)
crates/solvers/src/boundary/liquidity/concentrated.rs:76
Methodgas_cost
(&self)
crates/solvers/src/boundary/liquidity/limit_order.rs:44
Functiongas_costs
(ex: &mut PgConnection)
crates/database/src/trades.rs:740
Functiongas_estimator_alloy_all_custom
()
crates/driver/src/infra/config/file/mod.rs:1294
Functiongas_estimator_alloy_custom_past_blocks
()
crates/driver/src/infra/config/file/mod.rs:1250
Functiongas_estimator_alloy_custom_percentile
()
crates/driver/src/infra/config/file/mod.rs:1272
Functiongas_estimator_alloy_defaults
()
crates/driver/src/infra/config/file/mod.rs:1229
Functiongas_estimator_default
()
crates/driver/src/infra/config/file/mod.rs:1329
Functiongas_estimator_type_from_config
( config: &configs::shared::GasEstimatorType, )
crates/shared/src/arguments.rs:120
Functiongas_estimator_web3
()
crates/driver/src/infra/config/file/mod.rs:1317
Functiongas_limit
(web3: Web3)
crates/e2e/tests/e2e/hooks.rs:58
Methodgas_price
The effective gas price at the time of settlement.
crates/autopilot/src/domain/settlement/mod.rs:82
Functiongas_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
Methodgatom
Converts this value from Gwei to wei (multiplies by 1e9).
crates/number/src/units.rs:13
Methodgenerate
(&self, n: usize)
crates/autopilot/src/database/auction.rs:156
Functiongenerates_incrementing_request_id_when_header_missing
()
crates/observe/src/tracing/distributed/request_id.rs:238
Methodget
Get the inner value
crates/configs/src/autopilot/penalty_cap.rs:64
Methodget
(&self)
crates/driver/src/util/percent.rs:8
Methodget
(self)
crates/number/src/nonzero.rs:19
Methodget
()
crates/autopilot/src/fast_path.rs:644
Methodget
()
crates/autopilot/src/periodic_db_cleanup.rs:62
Methodget
()
crates/autopilot/src/leader_lock_tracker.rs:115
Methodget
(&self, id: QuoteId)
crates/autopilot/src/database/auction.rs:36
Methodget
()
crates/autopilot/src/domain/mod.rs:33
Methodget
Get the reserve assets.
crates/solvers/src/domain/liquidity/constant_product.rs:58
Methodget
Returns the wrapped token pair as a tuple.
crates/solvers/src/domain/liquidity/mod.rs:50
Methodget
()
crates/orderbook/src/orderbook.rs:87
Methodget
(&self, id: QuoteId)
crates/orderbook/src/database/quotes.rs:25
MethodgetAmplificationParameter
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5593
MethodgetBasefee
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4043
MethodgetBlockHash
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4118
MethodgetBlockNumber
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4050
MethodgetChainId
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4027
MethodgetCurrentBlockCoinbase
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4093
MethodgetCurrentBlockDifficulty
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4064
MethodgetCurrentBlockGasLimit
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4082
MethodgetCurrentBlockTimestamp
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:3995
MethodgetEthBalance
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4057
MethodgetInternalBalance
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:6178
MethodgetLastBlockHash
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4020
MethodgetNormalizedWeights
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4337
MethodgetPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4197
MethodgetPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3567
MethodgetPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3193
← previousnext →7,101–7,200 of 10,747, ranked by callers