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
↓ 1 callers
Method
get
()
crates/autopilot/src/domain/penalty_cap.rs:165
↓ 1 callers
Method
get
(&self)
crates/solvers/src/domain/dex/mod.rs:203
↓ 1 callers
Method
get
()
crates/simulator/src/tenderly/mod.rs:349
↓ 1 callers
Method
getLimitOrderRelevantState
( data: &[u8], )
contracts/generated/contracts-generated/izeroex/src/lib.rs:7314
↓ 1 callers
Method
getPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:6187
↓ 1 callers
Method
getPoolId
(data: &[u8])
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3227
↓ 1 callers
Method
getReserves
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4788
↓ 1 callers
Method
getScalingFactors
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5523
↓ 1 callers
Method
getSwapEnabled
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4257
↓ 1 callers
Method
getSwapFeePercentage
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3234
↓ 1 callers
Function
get_all
( ex: &mut PgConnection, order: &OrderUid, )
crates/database/src/order_events.rs:170
↓ 1 callers
Method
get_amount_in
( &self, in_token: Address, (out_amount, out_token): (alloy::primitives::U256, Address
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:121
↓ 1 callers
Method
get_amount_in
( &self, in_token: Address, out: (alloy::primitives::U256, Address), )
crates/solvers/src/boundary/baseline.rs:295
↓ 1 callers
Method
get_amount_out
( &self, out_token: Address, (in_amount, in_token): (alloy::primitives::U256, Address)
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:113
↓ 1 callers
Method
get_api_version
Get API version
crates/e2e/src/setup/services.rs:827
↓ 1 callers
Method
get_app_data_document
( &self, app_data: AppDataHash, )
crates/e2e/src/setup/services.rs:706
↓ 1 callers
Method
get_auction
Get auction data to post-process the given trades.
crates/autopilot/src/infra/persistence/mod.rs:418
↓ 1 callers
Method
get_back_off_duration_if_limited
(&self)
crates/rate-limit/src/lib.rs:198
↓ 1 callers
Function
get_by_tx
( ex: &mut PgConnection, tx_hash: &TransactionHash, )
crates/database/src/jit_orders.rs:69
↓ 1 callers
Method
get_cached
Returns all values that are currently cached.
crates/driver/src/domain/competition/order/app_data.rs:47
↓ 1 callers
Method
get_cached_balance
Retrieves cached balance and updates the `requested_at` field.
crates/account-balances/src/cached.rs:24
↓ 1 callers
Method
get_cached_balances
(&self, queries: &[Query])
crates/account-balances/src/cached.rs:88
↓ 1 callers
Method
get_cached_prices
Only returns prices that are currently cached.
crates/price-estimation/src/native_price_cache.rs:244
↓ 1 callers
Function
get_chain
(rpc: Url)
crates/driver/src/run.rs:223
↓ 1 callers
Method
get_current_backend
Returns the current active backend URL.
crates/e2e/src/setup/proxy.rs:45
↓ 1 callers
Method
get_ethflow_order_data
(&self, uid: &OrderUid)
crates/refunder/src/infra/database.rs:52
↓ 1 callers
Method
get_events_by_block_hash
(&self, block_hash: B256)
crates/event-indexing/src/event_handler.rs:107
↓ 1 callers
Method
get_events_by_block_range
Unfortunately, alloy's `watch_logs` does not support pagination yet, so it is implemented manually here
crates/event-indexing/src/event_handler.rs:126
↓ 1 callers
Method
get_full_app_data
Returns the full app data stored in the database for the given hash.
crates/orderbook/src/app_data.rs:97
↓ 1 callers
Method
get_full_app_data
( &self, contract_app_data: &AppDataHash, )
crates/orderbook/src/database/app_data.rs:9
↓ 1 callers
Function
get_invalidation_events
( events: Vec<(ContractEvent, Log)>, )
crates/autopilot/src/database/onchain_order_events/mod.rs:437
↓ 1 callers
Function
get_latest_indexed_block
The block every configured factory is indexed through, so every served pool is current at least to here. Scoped to `factories` so a decommissioned fac
crates/pool-indexer/src/db/uniswap_v3.rs:642
↓ 1 callers
Method
get_liquidity
( &self, pairs: HashSet<TokenPair>, _block: Block, )
crates/solver/src/liquidity/zeroex.rs:117
↓ 1 callers
Method
get_many
The cached price for each of `tokens`, skipping the ones not cached.
crates/driver/src/domain/competition/native_price_cache.rs:41
↓ 1 callers
Function
get_native_prices
( tokens: HashSet<Address>, native_price_estimator: &NativePriceUpdater, timeout: Duration, )
crates/autopilot/src/solvable_orders.rs:540
↓ 1 callers
Function
get_nonce
Fetches the transaction count (nonce) of `address` at `block`, or at alloy's default (`latest`) when `None`.
crates/driver/src/infra/mempool/mod.rs:190
↓ 1 callers
Method
get_nonce
Fetches the transaction count (nonce) for the given address at the specified block number. If no block number is provided in the config, uses the allo
crates/driver/src/infra/mempool/mod.rs:82
↓ 1 callers
Method
get_order_status
( &self, ethflow_address: Address, order_hash: alloy::primitives::B256, )
crates/refunder/src/infra/chain.rs:51
↓ 1 callers
Method
get_order_status
( &self, uid: &OrderUid, )
crates/orderbook/src/orderbook.rs:559
↓ 1 callers
Function
get_order_uids
( ex: &mut PgConnection, auction_id: AuctionId, )
crates/database/src/auction.rs:111
↓ 1 callers
Method
get_orders
( &self, query: &OrdersQuery, )
crates/liquidity-sources/src/zeroex.rs:370
↓ 1 callers
Method
get_orders
(&self, uids: &[OrderUid])
crates/orderbook/src/orderbook.rs:512
↓ 1 callers
Method
get_orders_for_owner
( &self, owner: &Address, offset: u64, limit: u64, )
crates/e2e/src/setup/services.rs:681
↓ 1 callers
Method
get_orders_for_tx
( &self, tx_hash: &B256, )
crates/e2e/src/setup/services.rs:661
↓ 1 callers
Method
get_orders_for_tx
(&self, hash: &B256)
crates/orderbook/src/orderbook.rs:522
↓ 1 callers
Function
get_quote
Looks up a quote by id.
crates/shared/src/quote_storage.rs:88
↓ 1 callers
Method
get_quote
(&self, query: &Query)
crates/price-estimation/src/trade_finding/external.rs:472
↓ 1 callers
Method
get_refundable_ethflow_orders_from_db
Fetches expired EthFlow orders that haven't been refunded, invalidated, or filled.
crates/refunder/src/refund_service.rs:184
↓ 1 callers
Method
get_refundable_orders
( &self, block_time: i64, min_validity_duration: i64, min_price_deviation: f64
crates/refunder/src/infra/database.rs:34
↓ 1 callers
Method
get_registered_pools
( &self, _target_block: BlockTarget, )
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:837
↓ 1 callers
Method
get_registered_pools
Retrieves the list of registered pools from the subgraph.
crates/liquidity-sources/src/balancer_v2/graph_api.rs:43
↓ 1 callers
Method
get_replaced_order
Using the provided app data, finds the order to be replaced. Validates the provided app data before searching for the order to be replaced.
crates/orderbook/src/orderbook.rs:425
↓ 1 callers
Function
get_request
(router: Router, path: &str)
crates/orderbook/src/api.rs:670
↓ 1 callers
Method
get_safe_block
Retrieves a recent block number for which it is safe to assume no reorgs will happen.
crates/liquidity-sources/src/balancer_v2/graph_api.rs:87
↓ 1 callers
Method
get_settlements_without_auction
Returns the oldest settlement event for which the accociated auction is not yet populated in the database.
crates/autopilot/src/infra/persistence/mod.rs:694
↓ 1 callers
Method
get_sol_input
(&self)
contracts/src/codegen.rs:450
↓ 1 callers
Method
get_solvable_orders
Returns currently solvable orders.
crates/autopilot/src/solvable_orders.rs:401
↓ 1 callers
Method
get_solver_competition_unfiltered
( &self, auction_id: AuctionId, )
crates/e2e/src/setup/services.rs:517
↓ 1 callers
Method
get_state
(&self)
crates/e2e/src/api/liquorice/server.rs:53
↓ 1 callers
Method
get_submission_nonce
(&self)
crates/refunder/src/submitter.rs:95
↓ 1 callers
Function
get_ticks
(pool: &PgPool, pool_address: &Address)
crates/pool-indexer/src/db/uniswap_v3.rs:498
↓ 1 callers
Method
get_token_quality
(&self, token: eth::TokenAddress)
crates/driver/src/domain/competition/risk_detector/mod.rs:125
↓ 1 callers
Function
get_tokens_missing_decimals
All distinct token addresses with no `decimals` recorded.
crates/pool-indexer/src/db/uniswap_v3.rs:538
↓ 1 callers
Function
get_tokens_missing_symbols
All distinct token addresses with no `symbol` recorded.
crates/pool-indexer/src/db/uniswap_v3.rs:520
↓ 1 callers
Method
get_trades_v2
Get trades with pagination (v2 endpoint)
crates/e2e/src/setup/services.rs:770
↓ 1 callers
Method
get_user_orders
( &self, owner: &Address, offset: u64, limit: u64, )
crates/orderbook/src/orderbook.rs:543
↓ 1 callers
Method
get_user_total_surplus
Get total surplus for a user (unstable endpoint)
crates/e2e/src/setup/services.rs:868
↓ 1 callers
Method
get_verified_price_estimate
Executes the simulation and checks quote accuracy.
crates/price-estimation/src/trade_verifier.rs:146
↓ 1 callers
Function
get_zeroex_order_amounts
( zeroex: &IZeroex::Instance, zeroex_order: &zeroex::OrderRecord, )
crates/e2e/tests/e2e/liquidity.rs:370
↓ 1 callers
Method
gin_clean_pending_list
Cleans the pending lists of all GIN indexes on `competition_auctions`. An index left out here gets flushed inline by whichever insert pushes its pendi
crates/autopilot/src/database/mod.rs:101
↓ 1 callers
Method
github
(path: &str)
contracts/src/vendor.rs:272
↓ 1 callers
Function
gnosis_safe_prevalidated_signature
Generate a Safe "pre-validated" signature. This is a special "marker" signature that can be used if the account that is executing the transaction is
crates/e2e/src/setup/onchain_components/safe.rs:276
↓ 1 callers
Method
grantRoles
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2authorizer/src/lib.rs:1017
↓ 1 callers
Function
grant_required_roles
( authorizer: &BalancerV2Authorizer::Instance, vault: Address, vault_relayer: Address, )
crates/e2e/src/setup/deploy.rs:310
↓ 1 callers
Function
grid
Factors on the grid the fee math uses, so float noise is not a mismatch.
crates/orderbook/src/fee_engine.rs:272
↓ 1 callers
Method
group_by_factory
Groups registered pools by factory addresses.
crates/liquidity-sources/src/balancer_v2/graph_api.rs:124
↓ 1 callers
Function
group_ticks_by_pool
(rows: Vec<db::PoolTickRow>)
crates/pool-indexer/src/api/uniswap_v3/bulk_ticks.rs:58
↓ 1 callers
Method
handle
(self: Arc<Self>, pending: FastPathOrder, notified_at: Instant)
crates/autopilot/src/fast_path.rs:167
↓ 1 callers
Function
handle_all_routes
( database_write: Postgres, database_read: Postgres, orderbook: Arc<Orderbook>, quotes: QuoteH
crates/orderbook/src/api.rs:160
↓ 1 callers
Method
handle_api_requests
Routes API requests based on order side. - Sell orders: Parallel execution of /swap and /approve-transaction - Buy orders: Sequential execution (swap
crates/solvers/src/infra/dex/okx/mod.rs:235
↓ 1 callers
Method
handle_burn
`handle_mint` with the sign flipped.
crates/pool-indexer/src/indexer/uniswap_v3.rs:955
↓ 1 callers
Method
handle_buy_order
Handle buy orders via the reverse-quote endpoint. Bitget computes the required input amount server-side using a recursive search on top of sell quote
crates/solvers/src/infra/dex/bitget/mod.rs:249
↓ 1 callers
Method
handle_buy_order
Handle buy orders with sequential API requests. Since the approval amount depends on the swap response (`from_token_amount`), we must execute `/swap`
crates/solvers/src/infra/dex/okx/mod.rs:297
↓ 1 callers
Function
handle_connection
( listener: &UnixListener, initial_filter: &str, reload_handle: &reload::Handle<EnvFilter, T>, )
crates/observe/src/tracing/reload_handler.rs:57
↓ 1 callers
Function
handle_connection_with_socket
(mut socket: UnixStream)
crates/observe/src/heap_dump_handler.rs:122
↓ 1 callers
Method
handle_deny_listed_tokens
Checks if the traded tokens are supported by the protocol.
crates/price-estimation/src/sanitized.rs:53
↓ 1 callers
Method
handle_initialize
Records initial price and tick from an `Initialize` event. Preserves any liquidity already seen for the pool in this chunk.
crates/pool-indexer/src/indexer/uniswap_v3.rs:872
↓ 1 callers
Method
handle_mint
Applies a `Mint`: positive tick deltas at the range bounds, plus a pool-liquidity bump if the active tick is in range (see [`Self::apply_position_delt
crates/pool-indexer/src/indexer/uniswap_v3.rs:929
↓ 1 callers
Method
handle_pool_created
Records a new pool, filling decimals from the prefetch cache. Symbols are left `None`: a hung `symbol()` call must not block pool inserts, and the asy
crates/pool-indexer/src/indexer/uniswap_v3.rs:839
↓ 1 callers
Function
handle_request
( client: reqwest::Client, state: ProxyState, req: Request<Body>, )
crates/e2e/src/setup/proxy.rs:135
↓ 1 callers
Function
handle_results
( pool: Result<Option<Pool>>, fee: Result<u32, alloy::contract::Error>, )
crates/liquidity-sources/src/swapr.rs:40
↓ 1 callers
Method
handle_sell_order
Handle sell orders with a single enriched swap API call. Uses `requestMod = "rich"` so `/swap` returns the quote (output amount, gas) and the swap ca
crates/solvers/src/infra/dex/bitget/mod.rs:185
↓ 1 callers
Method
handle_sell_order
Handle sell orders with parallel API requests. Since the approval amount is known upfront from `order.amount`, we can execute `/swap` and `/approve-t
crates/solvers/src/infra/dex/okx/mod.rs:251
↓ 1 callers
Method
handle_swap
Records full pool state (price, liquidity, tick) from a `Swap`.
crates/pool-indexer/src/indexer/uniswap_v3.rs:902
↓ 1 callers
Function
handler
(Path(_uid): Path<OrderUid>)
crates/orderbook/src/api.rs:680
↓ 1 callers
Method
has_execution_plan
Returns whether the solution contains anything that could actually produce the promised buy tokens.
crates/price-estimation/src/trade_finding/mod.rs:126
↓ 1 callers
Function
has_surplus_policy
(fulfillment: &Fulfillment)
crates/driver/src/domain/competition/solution/fee.rs:720
↓ 1 callers
Method
has_tokens
Returns `true` if the reserves correspond to the specified tokens.
crates/driver/src/domain/liquidity/uniswap/v2.rs:63
↓ 1 callers
Method
has_tokens
Returns `true` if the reserves correspond to the specified tokens.
crates/driver/src/domain/liquidity/balancer/v2/weighted.rs:70
↓ 1 callers
Method
has_tokens
Returns `true` if the reserves correspond to the specified tokens.
crates/driver/src/domain/liquidity/balancer/v2/stable.rs:66
← previous
next →
2,901–3,000 of 10,747, ranked by callers