Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,800 in github.com/cowprotocol/services
⨍
Functions
10,800
◇
Types & classes
3,466
↓ 1 callers
Function
frozen_token_account_json
(mint: &Pubkey, owner: &Pubkey)
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1081
↓ 1 callers
Method
fulfill
Set up the blockchain context and return the interactions needed to fulfill the orders.
crates/driver/src/tests/setup/blockchain.rs:750
↓ 1 callers
Method
full
Creates a context for vendoring "full" contract data, including bytecode used for deploying the contract for end-to-end test.
contracts/src/vendor.rs:232
↓ 1 callers
Function
full_app_data_with_signer
(signer: Address)
crates/e2e/tests/e2e/app_data_signer.rs:121
↓ 1 callers
Method
full_scalar_mul
(&self, scalar: U256)
crates/number/src/ratio_ext.rs:30
↓ 1 callers
Function
funded_orders
Drop orders whose sell token account cannot fund a fill: their settlement would revert at `BeginSettle`. A fill-or-kill order needs its whole sell amo
crates/autopilot-svm/src/infra/provider.rs:494
↓ 1 callers
Function
funded_sell_balance
What the account can fund of the order's sell side: the amount both held and approved to the settlement state PDA, in an initialized, unfrozen account
crates/autopilot-svm/src/infra/provider.rs:529
↓ 1 callers
Method
funding
What funds a simulated sell of the order's sell mint: the pair's cached read, unless its holders fund no sell of `needed` and their lookup is due.
crates/solana-orderbook/src/infra/verifier.rs:448
↓ 1 callers
Method
gas_cost
(&self)
crates/solvers/src/boundary/baseline.rs:311
↓ 1 callers
Method
gas_estimator
(&self)
crates/driver/src/infra/blockchain/mod.rs:205
↓ 1 callers
Method
gas_fee_override
Set custom gas fee overrides for the solution.
crates/driver/src/tests/setup/mod.rs:625
↓ 1 callers
Function
gasprice
(app: axum::Router<Ethereum>)
crates/driver/src/infra/api/routes/gasprice.rs:8
↓ 1 callers
Method
generate
(&self, n: usize)
crates/orderbook/src/database/quotes.rs:60
↓ 1 callers
Method
generate
Generate contract crates under `output_dir`: - `contracts-generated/<name>/` per-contract crates - `contracts-facade/` facade crate that re-exports al
contracts/src/codegen.rs:94
↓ 1 callers
Function
generate_and_stream_dump
(socket: &mut UnixStream)
crates/observe/src/heap_dump_handler.rs:143
↓ 1 callers
Function
generate_binding
(instance: &mut SolMacroGen, all_derives: bool)
contracts/src/codegen.rs:382
↓ 1 callers
Method
generate_code
Generate the Rust code for this contract's bindings.
contracts/src/codegen.rs:269
↓ 1 callers
Method
generate_signature
Generate HMAC-SHA256 signature for the Bitget API. The signature is computed over a JSON object with alphabetically sorted keys containing: the API p
crates/solvers/src/infra/dex/bitget/mod.rs:332
↓ 1 callers
Method
generate_signature
OKX requires signature of the request to be added as dedicated HTTP Header. More information on generating the signature can be found in OKX documenta
crates/solvers/src/infra/dex/okx/mod.rs:367
↓ 1 callers
Function
get
(state: State, path: Option<String>, query: Option<String>)
crates/solvers/src/tests/mock/http.rs:211
↓ 1 callers
Method
get
()
crates/solver/src/liquidity_collector.rs:139
↓ 1 callers
Method
get
()
crates/request-sharing/src/lib.rs:177
↓ 1 callers
Method
get
()
crates/autopilot/src/database/mod.rs:165
↓ 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:7306
↓ 1 callers
Method
getPausedState
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:6169
↓ 1 callers
Method
getPoolId
(data: &[u8])
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3212
↓ 1 callers
Method
getReserves
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4766
↓ 1 callers
Method
getScalingFactors
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5503
↓ 1 callers
Method
getSwapEnabled
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4238
↓ 1 callers
Method
getSwapFeePercentage
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3219
↓ 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:819
↓ 1 callers
Method
get_app_data_document
( &self, app_data: AppDataHash, )
crates/e2e/src/setup/services.rs:698
↓ 1 callers
Method
get_auction
Get auction data to post-process the given trades.
crates/autopilot/src/infra/persistence/mod.rs:417
↓ 1 callers
Method
get_auction
(&self)
crates/orderbook/src/orderbook.rs:529
↓ 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:245
↓ 1 callers
Method
get_canonical_batch_schedule
Get when the next canonical batch starts.
crates/e2e/src/setup/services.rs:837
↓ 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:537
↓ 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:556
↓ 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:509
↓ 1 callers
Method
get_orders_for_owner
( &self, owner: &Address, offset: u64, limit: u64, )
crates/e2e/src/setup/services.rs:673
↓ 1 callers
Method
get_orders_for_tx
( &self, tx_hash: &B256, )
crates/e2e/src/setup/services.rs:653
↓ 1 callers
Method
get_orders_for_tx
(&self, hash: &B256)
crates/orderbook/src/orderbook.rs:519
↓ 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:422
↓ 1 callers
Function
get_request
(router: Router, path: &str)
crates/orderbook/src/api.rs:688
↓ 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:708
↓ 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:398
↓ 1 callers
Method
get_solver_competition_unfiltered
( &self, auction_id: AuctionId, )
crates/e2e/src/setup/services.rs:509
↓ 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:762
↓ 1 callers
Method
get_user_orders
( &self, owner: &Address, offset: u64, limit: u64, )
crates/orderbook/src/orderbook.rs:540
↓ 1 callers
Method
get_user_total_surplus
Get total surplus for a user (unstable endpoint)
crates/e2e/src/setup/services.rs:880
↓ 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:268
↓ 1 callers
Function
give_back
Returns `amount` that [`take`] took for `destination` to `buffers`.
crates/solana-solvers/src/domain/solver/mod.rs:394
↓ 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:1015
↓ 1 callers
Function
grant_required_roles
( authorizer: &BalancerV2Authorizer::Instance, vault: Address, vault_relayer: Address, )
crates/e2e/src/setup/deploy.rs:310
← previous
next →
2,901–3,000 of 10,800, ranked by callers