Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,747 in github.com/cowprotocol/services
⨍
Functions
10,747
◇
Types & classes
3,488
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:58
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:1101
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:156
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
(&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
()
crates/autopilot/src/leader_lock_tracker.rs:115
Method
get
(&self, id: QuoteId)
crates/autopilot/src/database/auction.rs:36
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:5593
Method
getBasefee
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4043
Method
getBlockHash
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4118
Method
getBlockNumber
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4050
Method
getChainId
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4027
Method
getCurrentBlockCoinbase
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4093
Method
getCurrentBlockDifficulty
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4064
Method
getCurrentBlockGasLimit
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4082
Method
getCurrentBlockTimestamp
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:3995
Method
getEthBalance
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4057
Method
getInternalBalance
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:6178
Method
getLastBlockHash
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4020
Method
getNormalizedWeights
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4337
Method
getPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4197
Method
getPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3567
Method
getPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3193
← previous
next →
7,101–7,200 of 10,747, ranked by callers