MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,747 in github.com/cowprotocol/services

Functionextract_custom_and_general_order_data_matches_quotes_with_correct_events
()
crates/autopilot/src/database/onchain_order_events/mod.rs:1249
Functionextracts_app_code
()
crates/app-data/src/app_data.rs:676
Functionfactor
(value: f64)
crates/fee-engine/src/fee.rs:323
Methodfactor
(&self)
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:71
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1331
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1214
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3quoterv2/src/lib.rs:2292
Methodfactory
( data: &[u8], )
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1221
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1217
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1214
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1214
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5133
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1214
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1214
Methodfactory
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4722
Functionfailed_lookup_is_cached_until_retry_succeeds
()
crates/order-validation/src/banned/cached.rs:283
Functionfailed_nonce_lookup_never_cancels
()
crates/driver/src/domain/mempools.rs:717
Functionfailed_refresh_evicts_balance
()
crates/account-balances/src/cached.rs:366
Functionfailed_sources_answer_404
()
crates/autopilot-svm/src/infra/api.rs:193
Functionfailing
(err: PriceEstimationError)
crates/price-estimation/src/competition/mod.rs:820
Functionfailing_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:963
Functionfailing_rules_are_skipped
()
crates/fee-engine/src/evaluator.rs:370
Functionfails_closed_only_when_every_source_fails
()
crates/autopilot-svm/src/infra/prices.rs:1592
Functionfails_when_no_builder_accepts
()
crates/driver/src/tests/cases/settle.rs:88
Functionfails_when_the_lookup_fails
()
crates/solana-driver/src/domain/auction.rs:708
Functionfairness_filtering
Unfair batch is filtered
crates/autopilot/src/domain/competition/winner_selection.rs:642
Functionfallback_native_price_estimator
(web3: Web3)
crates/e2e/tests/e2e/place_order_with_quote.rs:199
Functionfalls_back_to_the_driver_source
()
crates/autopilot-svm/src/infra/prices.rs:1297
Functionfalls_back_to_the_last_block_height
()
crates/autopilot-svm/src/infra/provider.rs:1062
Functionfast_path
()
crates/app-data/src/app_data.rs:654
Functionfast_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
Functionfast_path_agrees_on_capped_partner_volume_fees
()
crates/orderbook/src/fee_engine.rs:627
Functionfast_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
Methodfast_path_finished
(solver: &str, success: bool)
crates/autopilot/src/fast_path.rs:648
Functionfast_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
Functionfast_path_keeps_only_partner_volume_fees
()
crates/shared/src/fee_engine.rs:85
Functionfast_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
Functionfast_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
Functionfast_path_quote_carries_no_solution_id
()
crates/driver/src/tests/cases/quote.rs:92
Functionfast_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
Functionfast_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
Functionfast_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
Functionfast_path_rejects_solution_without_interactions
()
crates/driver/src/tests/cases/quote.rs:104
Functionfast_path_requests_are_not_shared
()
crates/price-estimation/src/trade_finding/external.rs:437
Functionfast_path_settle
()
crates/driver/src/tests/cases/quote.rs:137
Functionfast_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
Functionfast_path_settle_fills_at_limit
()
crates/driver/src/tests/cases/quote.rs:152
Functionfast_path_settle_rejects_mismatched_order
()
crates/driver/src/tests/cases/quote.rs:198
Functionfast_path_settle_rejects_tight_limit
()
crates/driver/src/tests/cases/quote.rs:227
Functionfast_path_settle_rejects_wrong_amount
()
crates/driver/src/tests/cases/quote.rs:212
Functionfast_path_settle_requires_matching_quote_id
()
crates/driver/src/tests/cases/quote.rs:181
Functionfast_path_settle_requires_order
()
crates/driver/src/tests/cases/quote.rs:169
Functionfast_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
Functionfast_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
Methodfee
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5147
Functionfee_adjusted_fill_below_limit_is_rejected
()
crates/solana-driver/src/domain/settlement.rs:1720
Functionfee_adjusted_fill_that_still_respects_limit_passes_validation
()
crates/solana-driver/src/domain/settlement.rs:1701
Functionfee_before_settlement
The fee `policy` takes from the fill `order` describes: the lesser of its [`FeeShares`].
crates/protocol-fees/src/lib.rs:232
Functionfee_breakdown_falls_back_to_protocol_fees
()
crates/autopilot/src/domain/settlement/trade/mod.rs:238
Functionfee_conversion_survives_hugely_scaled_clearing_prices
()
crates/autopilot/src/domain/settlement/trade/math.rs:318
Methodfee_factor_from_bps
(bps: u64)
crates/autopilot/src/domain/fee/mod.rs:142
Functionfee_factor_from_high_precision
()
crates/configs/src/fee_factor.rs:120
Functionfee_factor_to_bps
()
crates/configs/src/fee_factor.rs:95
Functionfee_factor_to_high_precision
()
crates/configs/src/fee_factor.rs:110
Functionfee_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
Functionfee_from_volume_rounds_up
()
crates/solana-driver/src/domain/solver_fee.rs:254
Functionfee_handler_parses_and_defaults_to_the_driver
()
crates/solana-driver/src/infra/config.rs:231
Methodfee_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
Methodfees
(rule: &Rule, context: &Context<'_, '_>)
crates/fee-engine/src/evaluator.rs:148
Functionfees_and_surplus_match_the_legacy_formulas
()
crates/driver/src/domain/competition/solution/scoring.rs:641
Functionfees_and_surplus_match_the_legacy_formulas
()
crates/autopilot/src/domain/settlement/trade/math.rs:716
Functionfees_match_the_legacy_formulas
()
crates/driver/src/domain/competition/solution/fee.rs:739
Functionfetch
(ex: &mut PgConnection, contract: &str)
crates/database/src/last_indexed_blocks.rs:25
Methodfetch
( &self, token_pairs: &HashSet<TokenPair>, at_block: Block, )
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:424
Methodfetch
(&self, token_pairs: HashSet<TokenPair>, at_block: Block)
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:221
Methodfetch
(&self, address: Address)
crates/order-validation/src/banned/hermod.rs:94
Methodfetch
(&self, address: Address)
crates/order-validation/src/banned/onchain.rs:25
Methodfetch
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
Methodfetch_balances
(&self, queries: Vec<Query>)
crates/autopilot/src/solvable_orders.rs:369
Functionfetch_baoswap_pool
()
crates/liquidity-sources/src/uniswap_v2/mod.rs:303
Functionfetch_common_pool_info
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:379
Functionfetch_common_pool_state
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:441
Functionfetch_debug_trace
Fetches the debug traces for the given transaction while bypassing serde's default recursion limit. This is needed to support transactions with except
crates/autopilot/src/infra/blockchain/mod.rs:153
Functionfetch_honeyswap_pool
()
crates/liquidity-sources/src/uniswap_v2/mod.rs:341
Methodfetch_in_flight_orders
(&self, block: u64)
crates/autopilot/src/solvable_orders.rs:358
Methodfetch_in_flight_orders
( &self, current_block: u64, )
crates/autopilot/src/infra/persistence/mod.rs:1023
Functionfetch_pool_state
()
crates/liquidity-sources/src/balancer_v2/pools/weighted.rs:266
Methodfetch_pool_state
( &self, pool_info: &Self::PoolInfo, common_pool_state: BoxFuture<'static, common::Poo
crates/liquidity-sources/src/balancer_v2/pools/composable_stable.rs:43
Methodfetch_pool_state
( &self, pool_info: &Self::PoolInfo, common_pool_state: BoxFuture<'static, common::Poo
crates/liquidity-sources/src/balancer_v2/pools/liquidity_bootstrapping.rs:50
Functionfetch_pools_by_ids
(client: &PoolIndexerClient, ids: &[Address])
crates/liquidity-sources/src/uniswap_v3/pool_indexer.rs:412
Functionfetch_pools_skips_unconvertible_pool
()
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:992
Functionfetch_specialized_pool_state
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:597
Functionfetch_specialized_pool_state_for_disabled_pool
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:793
Functionfetch_specialized_pool_state_for_paused_pool
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:714
Functionfetch_state_errors_on_token_mismatch
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:530
Functionfetch_swapr_pool
()
crates/liquidity-sources/src/swapr.rs:109
Functionfetch_ticks_by_pool_ids
( client: &PoolIndexerClient, ids: &[Address], )
crates/liquidity-sources/src/uniswap_v3/pool_indexer.rs:433
Methodfetch_values
(&self, keys: HashSet<TokenPair>, block: Block)
crates/liquidity-sources/src/uniswap_v2/pool_cache.rs:26
Methodfetch_values
(&self, pool_ids: HashSet<B256>, at_block: Block)
crates/liquidity-sources/src/balancer_v2/pool_fetching/cache.rs:86
Functionfetch_weighted_pool
()
crates/liquidity-sources/src/balancer_v2/pools/weighted.rs:225
← previousnext →6,601–6,700 of 10,747, ranked by callers