Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
8,749 in github.com/cowprotocol/services
⨍
Functions
8,749
◇
Types & classes
3,170
↓ 3 callers
Function
aggregate3_response
The `eth_call` response of an `aggregate3` whose sub-calls came back as given, in the order the reader asked for them.
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:602
↓ 3 callers
Function
amm_to_pool
(amm: &ConstantProductOrder)
crates/solver/src/solver.rs:63
↓ 3 callers
Function
amm_to_weighted_pool
(amm: &WeightedProductOrder)
crates/solver/src/solver.rs:72
↓ 3 callers
Function
app_code
Extracts the `appCode` from a full app-data document, if present. `appCode` sits at the document root, next to (not inside) the protocol `metadata`,
crates/app-data/src/app_data.rs:315
↓ 3 callers
Method
app_data
(self, app_data: AppData)
crates/driver/src/tests/setup/mod.rs:293
↓ 3 callers
Method
append_events
(&mut self, events: Vec<(T, alloy_rpc_types::Log)>)
crates/event-indexing/src/event_handler.rs:728
↓ 3 callers
Method
approval_override
( &self, request: ApprovalOverrideRequest, )
crates/balance-overrides/src/lib.rs:84
↓ 3 callers
Method
as_raw
Returns the fee as a raw [`eth::U256`] value as it is represented on-chain.
crates/driver/src/domain/liquidity/balancer/v2/mod.rs:41
↓ 3 callers
Method
as_str
(self)
crates/database/src/order_events.rs:52
↓ 3 callers
Method
as_str
(&self)
crates/simulator/src/state_override_stream.rs:494
↓ 3 callers
Function
assemble_quote_data
Assembles a `QuoteCompetition` from every ranked estimate plus the competition-level context (native prices, gas price, expiration). Fails with [`Calc
crates/shared/src/order_quoting.rs:885
↓ 3 callers
Function
assert_rate_close
Asserts `computed_rate` is within a `tolerance` of `expected_rate`.
crates/price-estimation/src/native/eip4626.rs:292
↓ 3 callers
Method
atom
(self)
crates/number/src/units.rs:24
↓ 3 callers
Method
auction_id
Set specific auction ID which will be used during test. Setting auction ID can be used to test various scenarios when handling competing solutions in
crates/driver/src/tests/setup/mod.rs:911
↓ 3 callers
Method
available
Returns the order's available amounts to be passed to a solver engine. See [`Available`] for more details.
crates/driver/src/domain/competition/order/mod.rs:169
↓ 3 callers
Method
banned
Returns the subset of `addresses` that are banned. Cache misses hit the configured remote sources.
crates/order-validation/src/banned/mod.rs:63
↓ 3 callers
Function
big_uint_to_u256
(input: &BigUint)
crates/number/src/conversions.rs:42
↓ 3 callers
Method
bind
Bind to the configured address, returning the listener and the actual bound address (which differs from `addr` when binding to port 0).
crates/solana-orderbook/src/infra/api/mod.rs:31
↓ 3 callers
Function
block_with_base_fee
(base_fee: u64)
crates/gas-price-estimation/src/configurable_alloy.rs:151
↓ 3 callers
Method
blocks
(&self, range: RangeInclusive<u64>)
crates/event-indexing/src/block_retriever.rs:49
↓ 3 callers
Method
boundary
( &self, blockchain: &Blockchain, signer: PrivateKeySigner, )
crates/driver/src/tests/setup/blockchain.rs:196
↓ 3 callers
Method
bsub
(self, other: Self)
crates/liquidity-sources/src/balancer_v2/swap/math.rs:20
↓ 3 callers
Method
build
(&self)
crates/driver/src/tests/boundary.rs:38
↓ 3 callers
Method
buy
The asset being bought, or [`eth::U256::one`] if this is a sell, to facilitate surplus.
crates/driver/src/domain/quote.rs:266
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/chainalysisoracle/src/lib.rs:1659
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/counter/src/lib.rs:902
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv3/src/lib.rs:1369
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv3/src/lib.rs:1409
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv5/src/lib.rs:1409
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv4/src/lib.rs:1409
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2composablestablepoolfactory/src/lib.rs:1409
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv4/src/lib.rs:1369
↓ 3 callers
Method
call_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv6/src/lib.rs:1409
↓ 3 callers
Method
cancel
Cancel a pending settlement by sending a transaction to self with a slightly higher gas price than the existing one.
crates/driver/src/domain/mempools.rs:357
↓ 3 callers
Function
cancel_order
Applies the needed DB modification to cancel a single order.
crates/orderbook/src/database/orders.rs:97
↓ 3 callers
Function
check_batching_many
Function to check batching of many tokens
crates/price-estimation/src/buffered.rs:385
↓ 3 callers
Method
checked_mul_ratio_ceil
(&self, mul: &Self, div: &Self)
crates/number/src/u256_ext.rs:87
↓ 3 callers
Method
clearing_prices
Token prices settled by this solution, expressed using an arbitrary reference unit chosen by the solver. These values are only meaningful in relation
crates/driver/src/domain/competition/solution/mod.rs:610
↓ 3 callers
Function
competition_error
(err: &competition::Error)
crates/driver/src/infra/observe/mod.rs:438
↓ 3 callers
Method
complement
(self)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:188
↓ 3 callers
Function
compute_absolute_tolerance
Computes the absolute tolerance amount from a relative factor.
crates/solvers/src/domain/dex/shared.rs:15
↓ 3 callers
Function
config
(enable_buy_orders: bool)
crates/solana-solvers/src/dex/jupiter/mod.rs:174
↓ 3 callers
Function
config
()
crates/driver/src/infra/solver/mod.rs:587
↓ 3 callers
Method
config
Load the specified config file. Otherwise, a temporary config file will be created with reasonable values.
crates/driver/src/tests/setup/mod.rs:853
↓ 3 callers
Function
constant_a_18
(i: u32)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:91
↓ 3 callers
Function
constant_a_20
(i: u32)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:75
↓ 3 callers
Function
constant_x_18
(i: u32)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:67
↓ 3 callers
Function
constant_x_20
(i: u32)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:51
↓ 3 callers
Function
convert_onchain_order_placement
( order_placement: &ContractOrderPlacement, event_timestamp: i64, quote: Result<Quote, OnchainOrde
crates/autopilot/src/database/onchain_order_events/mod.rs:584
↓ 3 callers
Function
create_order_tx
Verifies the run loop drains buffered updates and returns Ok when the sender drops. Event content is not asserted here: the persistence bodies are no-
crates/solana-indexer/src/indexer/decoder/tests.rs:352
↓ 3 callers
Function
create_stable_pool_with
( tokens: Vec<Address>, balances: Vec<U256>, amplification_parameter: AmplificationPar
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:481
↓ 3 callers
Function
current_block_ws_stream
Creates a cloneable stream that yields the current block whenever it changes. Uses websocket subscriptions for real-time block updates. The stream is
crates/ethrpc/src/block_stream.rs:105
↓ 3 callers
Method
custom_prices
( &self, prices: &ClearingPrices, )
crates/driver/src/domain/competition/solution/trade.rs:92
↓ 3 callers
Function
decimal_to_ether
Converts a `BigDecimal` amount in Ether units to wei.
crates/solvers/src/util/conv.rs:21
↓ 3 callers
Method
decode
( &self, tx: SubscribeUpdateTransactionInfo, slot: Slot, signature: Signature,
crates/solana-indexer/src/indexer/decoder.rs:239
↓ 3 callers
Function
default_config
()
crates/gas-price-estimation/src/configurable_alloy.rs:144
↓ 3 callers
Function
default_past_blocks
()
crates/configs/src/gas_price_estimation.rs:9
↓ 3 callers
Function
default_reward_percentile
()
crates/configs/src/gas_price_estimation.rs:13
↓ 3 callers
Function
default_streaming_params
()
crates/shared/src/order_quoting.rs:2259
↓ 3 callers
Method
deploy_cow_weth_pool
( &self, cow_supply: U256, cow_amount: U256, weth_amount: U256, )
crates/e2e/src/setup/onchain_components/mod.rs:551
↓ 3 callers
Function
deploy_with_solver_and_trader
Deploys onchain components with a solver and a trader, each funded with 100 ETH.
crates/e2e/tests/e2e/protocol_fee.rs:1259
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1739
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/izeroex/src/lib.rs:8281
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/chainalysisoracle/src/lib.rs:1743
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1545
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/signatures/src/lib.rs:1094
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/uniswapv3swaprouterv2/src/lib.rs:1000
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/uniswapv3quoterv2/src/lib.rs:2643
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/gpv2allowlistauthentication/src/lib.rs:2073
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1570
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/gpv2settlement/src/lib.rs:5073
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv3/src/lib.rs:1446
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/iuniswapv3factory/src/lib.rs:1302
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1545
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1545
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv3/src/lib.rs:1491
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/permit2/src/lib.rs:4633
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv5/src/lib.rs:1491
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv4/src/lib.rs:1491
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:4675
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:9570
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2stablepoolfactoryv2/src/lib.rs:1183
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/hookstrampoline/src/lib.rs:1252
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/weth9/src/lib.rs:3037
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2noprotocolfeeliquiditybootstrappingpoolfactory/src/lib.rs:909
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpoolfactory/src/lib.rs:893
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/flashloanrouter/src/lib.rs:1275
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1545
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:1692
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1545
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactory/src/lib.rs:1491
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:7199
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2weightedpool2tokensfactory/src/lib.rs:967
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2weightedpoolfactory/src/lib.rs:943
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balances/src/lib.rs:1201
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv4/src/lib.rs:1446
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/uniswapv2factory/src/lib.rs:1126
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:5256
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv6/src/lib.rs:1491
↓ 3 callers
Function
deployment_info
(chain_id: u64)
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:4134
← previous
next →
701–800 of 8,749, ranked by callers