Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,776 in github.com/cowprotocol/services
⨍
Functions
10,776
◇
Types & classes
3,479
Method
exactOutputSingle
( data: &[u8], )
contracts/generated/contracts-generated/uniswapv3swaprouterv2/src/lib.rs:790
Function
examples
()
crates/app-data/src/app_data.rs:687
Method
execute
(data: &[u8])
contracts/generated/contracts-generated/hookstrampoline/src/lib.rs:834
Method
execute_instrumented
(&self, label: &str, f: F)
crates/orderbook/src/database/orders.rs:494
Function
executed_fees_keep_the_evm_shape
()
crates/solana-orderbook/src/infra/api/routes/trades/dto.rs:199
Function
executions
Every `solana.order_execution` row: order, auction, fee tokens and fee amounts.
crates/autopilot-svm/src/infra/order_execution.rs:492
Function
exemptions_bypass_eth_calls
()
crates/price-estimation/src/native/eip4626.rs:385
Function
exits_on_panic_in_either_order_of_install_and_tracing_init
()
crates/observe/src/panic_hook.rs:61
Method
exp10
Returns 10 to the power of `exp` as a fixed point number. Note that this implementation truncates for exponents less than the smallest representable
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:122
Function
exp_error
()
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:430
Function
exp_success
()
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:385
Function
expected_error_formatting
()
crates/liquidity-sources/src/balancer_v2/swap/error.rs:62
Method
expecting
(&self, formatter: &mut fmt::Formatter)
crates/app-data/src/app_data.rs:543
Method
expecting
(&self, formatter: &mut fmt::Formatter)
crates/model/src/signature.rs:393
Method
expecting
(&self, formatter: &mut fmt::Formatter)
crates/model/src/order.rs:789
Method
expecting
(&self, formatter: &mut std::fmt::Formatter)
crates/chain/src/lib.rs:172
Method
expecting
(&self, formatter: &mut std::fmt::Formatter)
crates/serde-ext/src/u256.rs:21
Method
expecting
(&self, formatter: &mut std::fmt::Formatter)
crates/serde-ext/src/hex.rs:17
Method
expecting
(&self, formatter: &mut std::fmt::Formatter)
crates/solvers/src/domain/eth/chain.rs:68
Function
explicit_address_parses
()
crates/eth-domain-types/src/receiver.rs:100
Function
explicit_null_parses_as_owner
()
crates/eth-domain-types/src/receiver.rs:112
Function
extensions_are_taken_from_the_driver_config
()
crates/autopilot/src/infra/solvers/mod.rs:266
Function
external_price_sorting
()
crates/driver/src/tests/cases/order_prioritization.rs:132
Function
extract_custom_and_general_order_data_matches_quotes_with_correct_events
()
crates/autopilot/src/database/onchain_order_events/mod.rs:1249
Function
extracts_app_code
()
crates/app-data/src/app_data.rs:676
Function
factor
(value: f64)
crates/fee-engine/src/fee.rs:323
Method
factor
(&self)
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:71
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1324
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1207
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3quoterv2/src/lib.rs:2284
Method
factory
( data: &[u8], )
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1214
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1210
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1207
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1207
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5117
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1207
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1207
Method
factory
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4701
Function
failed_nonce_lookup_never_cancels
()
crates/driver/src/domain/mempools.rs:717
Function
failed_refresh_evicts_balance
()
crates/account-balances/src/cached.rs:366
Function
failed_sources_answer_404
()
crates/autopilot-svm/src/infra/api.rs:193
Function
failing
(err: PriceEstimationError)
crates/price-estimation/src/competition/mod.rs:820
Function
failing_program
The program whose instruction the error names. Programs are always static keys, never loaded from a lookup table.
crates/solana-driver/src/domain/competition.rs:982
Function
failing_rules_are_skipped
()
crates/fee-engine/src/evaluator.rs:370
Function
fails_closed_only_when_every_source_fails
()
crates/autopilot-svm/src/infra/prices.rs:1697
Function
fails_when_no_builder_accepts
()
crates/driver/src/tests/cases/settle.rs:88
Function
fails_when_the_lookup_fails
()
crates/solana-driver/src/domain/auction.rs:708
Function
fairness_filtering
Unfair batch is filtered
crates/autopilot/src/domain/competition/winner_selection.rs:642
Function
fallback_native_price_estimator
(web3: Web3)
crates/e2e/tests/e2e/place_order_with_quote.rs:199
Function
falls_back_to_the_driver_source
()
crates/autopilot-svm/src/infra/prices.rs:1352
Function
falls_back_to_the_last_block_height
()
crates/autopilot-svm/src/infra/provider.rs:1062
Function
fast_path
()
crates/app-data/src/app_data.rs:654
Function
fast_path_absolute_slippage_cap_binds
Enforces a solver's absolute AMM-slippage cap on the fast path. Re-encoding a fast-path solution happens outside any auction, so the driver reuses na
crates/e2e/tests/e2e/fast_path_settle.rs:1270
Function
fast_path_agrees_on_capped_partner_volume_fees
()
crates/orderbook/src/fee_engine.rs:627
Function
fast_path_ethflow_settle
Ethflow variant of `fast_path_settle`: the order is placed via the ethflow contract (an on-chain `OrderPlacement` event) rather than `POST /orders`, w
crates/e2e/tests/e2e/fast_path_settle.rs:1926
Method
fast_path_finished
(solver: &str, success: bool)
crates/autopilot/src/fast_path.rs:648
Function
fast_path_flags_fall_through_when_disabled
When the fast path is disabled (`fast_path_submission_deadline` unset), the orderbook still accepts an `enableFastPath` order — but the autopilot clas
crates/e2e/tests/e2e/quote_fastpath_flags.rs:27
Function
fast_path_keeps_only_partner_volume_fees
()
crates/shared/src/fee_engine.rs:85
Function
fast_path_limit_too_tight_rejected
Exercises the fast-path placement-time limit-price check at its boundary conditions. Signing exactly the amount the quote endpoint returned must alway
crates/e2e/tests/e2e/fast_path_settle.rs:2065
Function
fast_path_penalty_cap
A fast-path order settled out of competition gets its CIP-87 penalty cap persisted on the promoted `competition_auctions` row, like a regular auction.
crates/e2e/tests/e2e/fast_path_settle.rs:702
Function
fast_path_quote_carries_no_solution_id
()
crates/driver/src/tests/cases/quote.rs:92
Function
fast_path_quote_id_of_auction
Returns the quote a fast-path auction settled, or `None` for a regular one.
crates/e2e/tests/e2e/database.rs:54
Function
fast_path_records_filtered_out_solutions
Two otherwise identical baseline solvers compete on a fast-path order, with realistic volume-fee and slippage settings layered on top: 2% protocol vo
crates/e2e/tests/e2e/fast_path_settle.rs:1501
Function
fast_path_regular_auction_fallback
Tests fast-path → regular-auction fallback with two solvers competing for the same order. `solver_a` is unfunded and runs with `solver_fee_bps = 0`,
crates/e2e/tests/e2e/fast_path_settle.rs:1020
Function
fast_path_rejects_solution_without_interactions
()
crates/driver/src/tests/cases/quote.rs:104
Function
fast_path_requests_are_not_shared
()
crates/price-estimation/src/trade_finding/external.rs:437
Function
fast_path_settle
()
crates/driver/src/tests/cases/quote.rs:137
Function
fast_path_settle_buy_native_eth
A fast-path order that buys native ETH. The orderbook's price estimator rewrites `buy_token = BUY_ETH_ADDRESS` to WETH before it ever reaches the driv
crates/e2e/tests/e2e/fast_path_settle.rs:355
Function
fast_path_settle_fills_at_limit
()
crates/driver/src/tests/cases/quote.rs:152
Function
fast_path_settle_rejects_mismatched_order
()
crates/driver/src/tests/cases/quote.rs:198
Function
fast_path_settle_rejects_tight_limit
()
crates/driver/src/tests/cases/quote.rs:227
Function
fast_path_settle_rejects_wrong_amount
()
crates/driver/src/tests/cases/quote.rs:212
Function
fast_path_settle_requires_matching_quote_id
()
crates/driver/src/tests/cases/quote.rs:181
Function
fast_path_settle_requires_order
()
crates/driver/src/tests/cases/quote.rs:169
Function
fast_path_settles_across_split_configs
Regression test for the quoter/solver fast-path cache split. A quoter config (`test_quote`) and a solve config (`test_solver`) share one submission a
crates/e2e/tests/e2e/fast_path_settle.rs:851
Function
fast_path_volume_fees_captured
Configures a protocol volume fee via the autopilot config and a partner volume fee via app-data, and verifies that both are recorded against the fast-
crates/e2e/tests/e2e/fast_path_settle.rs:1719
Method
fee
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5131
Function
fee_adjusted_fill_below_limit_is_rejected
()
crates/solana-driver/src/domain/settlement.rs:1720
Function
fee_adjusted_fill_that_still_respects_limit_passes_validation
()
crates/solana-driver/src/domain/settlement.rs:1701
Function
fee_breakdown_falls_back_to_protocol_fees
()
crates/autopilot/src/domain/settlement/trade/mod.rs:238
Function
fee_conversion_survives_hugely_scaled_clearing_prices
()
crates/autopilot/src/domain/settlement/trade/math.rs:318
Method
fee_factor_from_bps
(bps: u64)
crates/autopilot/src/domain/fee/mod.rs:142
Function
fee_factor_from_high_precision
()
crates/configs/src/fee_factor.rs:120
Function
fee_factor_to_bps
()
crates/configs/src/fee_factor.rs:95
Function
fee_factor_to_high_precision
()
crates/configs/src/fee_factor.rs:110
Function
fee_from_value
Turns the tagged map a fee function returned (see [`fee_value`]) into a [`Fee`]: reads `kind`, then each argument as a decimal scaled by its unit (bps
crates/fee-engine/src/fee.rs:194
Function
fee_from_volume_rounds_up
()
crates/solana-driver/src/domain/solver_fee.rs:254
Function
fee_handler_parses_and_defaults_to_the_driver
()
crates/solana-driver/src/infra/config.rs:231
Method
fee_in_ether
Total fee (protocol fee + network fee). Equal to a surplus difference before and after applying the fees.
crates/autopilot/src/domain/settlement/trade/math.rs:77
Method
fees
(rule: &Rule, context: &Context<'_, '_>)
crates/fee-engine/src/evaluator.rs:148
Function
fees_and_surplus_match_the_legacy_formulas
()
crates/driver/src/domain/competition/solution/scoring.rs:641
Function
fees_and_surplus_match_the_legacy_formulas
()
crates/autopilot/src/domain/settlement/trade/math.rs:716
Function
fees_match_the_legacy_formulas
()
crates/driver/src/domain/competition/solution/fee.rs:739
Function
fetch
(ex: &mut PgConnection, contract: &str)
crates/database/src/last_indexed_blocks.rs:25
Method
fetch
( &self, token_pairs: &HashSet<TokenPair>, at_block: Block, )
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:424
Method
fetch
(&self, token_pairs: HashSet<TokenPair>, at_block: Block)
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:221
Method
fetch
Fetches all relevant liquidity for the specified token pairs. Handles failures by logging and returning an empty vector.
crates/driver/src/infra/liquidity/fetcher.rs:58
Method
fetch_balances
(&self, queries: Vec<Query>)
crates/autopilot/src/solvable_orders.rs:369
Function
fetch_baoswap_pool
()
crates/liquidity-sources/src/uniswap_v2/mod.rs:303
Function
fetch_common_pool_info
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:379
← previous
next →
6,601–6,700 of 10,776, ranked by callers