MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,736 in github.com/cowprotocol/services

Functionreverting_convert_to_assets_is_treated_as_non_vault
()
crates/price-estimation/src/native/eip4626.rs:433
Methodrevoke
Revoke the approval, i.e. set the approved amount to [`U256::zero`].
crates/eth-domain-types/src/allowance.rs:57
Functionrich_errors_handle_serialization_errors
()
crates/orderbook/src/api.rs:586
Functionrich_errors_skip_unset_data_field
()
crates/orderbook/src/api.rs:557
Functionrole_id
(vault: Address)
crates/e2e/src/setup/deploy.rs:303
Functionround_does_not_panic
()
crates/solvers/src/domain/dex/slippage.rs:221
Functionroundtrip_internal
( mut request: RequestBuilder, log_request: impl FnOnce(&Method, &Url, Option<&str>, &str), log_re
crates/solvers/src/util/http.rs:44
Functionroundtrip_serialization
()
crates/configs/src/order_quoting.rs:182
Functionroundtrip_serialization
()
crates/configs/src/native_price.rs:152
Functionroundtrip_serialization
()
crates/configs/src/price_estimation.rs:422
Functionroundtrip_serialization
()
crates/configs/src/autopilot/mod.rs:528
Functionroundtrip_serialization
()
crates/configs/src/orderbook/native_price.rs:75
Functionroundtrip_serialization
()
crates/configs/src/orderbook/mod.rs:378
Functionroundtrip_serialization
()
crates/configs/src/orderbook/order_validation.rs:115
Functionroundtrip_serialization
()
crates/configs/src/orderbook/ipfs.rs:107
Functionroute
()
crates/driver/src/infra/api/routes/healthz.rs:11
Functionroute
()
crates/driver/src/infra/api/routes/metrics.rs:5
Functionroute
(state: axum::extract::State<State>)
crates/driver/src/infra/api/routes/info.rs:8
Functionroute
( eth: axum::extract::State<Ethereum>, )
crates/driver/src/infra/api/routes/gasprice.rs:13
Functionroute
( state: axum::extract::State<State>, LoggingJson(req): LoggingJson<dto::SettleRequest>, )
crates/driver/src/infra/api/routes/settle/mod.rs:18
Functionroute
Settles a quote solution the driver cached at quote time, outside of any competition. The cached solution's order is synthetic and unsigned, so it is
crates/driver/src/infra/api/routes/settle_fast_path/mod.rs:25
Functionroute
( state: axum::extract::State<State>, LoggingQuery(order): LoggingQuery<dto::Order>, )
crates/driver/src/infra/api/routes/quote/mod.rs:17
Functionroute
( state: axum::extract::State<State>, // Take the request as raw request to extract the body as a stre
crates/driver/src/infra/api/routes/solve/mod.rs:17
Functionroute
( state: axum::extract::State<State>, LoggingJson(req): LoggingJson<dto::RevealRequest>, )
crates/driver/src/infra/api/routes/reveal/mod.rs:18
Methodrpc_driven
A decoder driven by RPC fetches instead of a stream: recovery pushes history through its decode and flush paths over a dedicated client. The channel s
crates/solana-indexer/src/indexer/decoder.rs:94
Functionrule
(name: &str, when: &str, fee: &str)
crates/fee-engine/src/rules.rs:440
Functionrule
(name: &str, when: &str, fee: &str)
crates/fee-engine/src/evaluator.rs:181
Functionrule
(name: &str, when: &str, fee: &str)
crates/fee-engine/tests/rules.rs:26
Functionrule_definitions
Deserializes each rule on its own on purpose, for better diagnostics: a `toml::Value` has no line to point at, so the error names the rule's number in
crates/fee-engine/src/loader.rs:90
Functionrule_set_is_shared_across_threads
()
crates/fee-engine/src/rules.rs:465
Functionrules_must_load
()
crates/shared/src/fee_engine.rs:356
Functionrules_must_load
()
crates/autopilot/src/fee_engine.rs:355
Functionrules_read_the_app_data
()
crates/fee-engine/src/evaluator.rs:461
Functionrun
This function exists to enable running the driver for testing. The `addr_sender` parameter is used so that the testing framework can get the address o
crates/driver/src/run.rs:40
Methodrun_blocking_with_timer
Runs a blocking function on a background thread, timing it using the given stage name.
crates/driver/src/domain/competition/mod.rs:867
Methodrun_forever
(self, mut control: ShutdownController)
crates/autopilot/src/run_loop.rs:214
Methodrun_forever
(self)
crates/autopilot/src/periodic_db_cleanup.rs:32
Functionrun_forked_test_with_extra_filters
( f: F, fork_url: String, extra_filters: impl IntoIterator<Item = T>, )
crates/e2e/src/setup/mod.rs:159
Methodrun_maintenance
(&self)
crates/liquidity-sources/src/balancer_v2/pool_fetching/registry.rs:126
Methodrun_maintenance
(&self)
crates/event-indexing/src/event_handler.rs:646
Methodrun_maintenance
(&self)
crates/autopilot/src/event_updater.rs:74
Functionrun_maintenance_no_early_exit_on_error
()
crates/event-indexing/src/maintenance.rs:152
Methodrun_orderbook_fetching
( api: Arc<dyn ZeroExApi>, blocks_stream: CurrentBlockWatcher, orderbook_cache: Arc<Or
crates/solver/src/liquidity/zeroex.rs:82
Functionrun_test_with_extra_filters
( f: F, extra_filters: impl IntoIterator<Item = T>, )
crates/e2e/src/setup/mod.rs:132
Methodsame_decimals
Creates an approximation token with no decimal normalization needed (both tokens have the same decimals).
crates/price-estimation/src/native_price_cache.rs:34
Functionsame_mint_order_is_rejected
()
crates/solana-solvers/src/dto/solution.rs:302
Functionsame_path
()
crates/solvers/src/tests/cases/buy_order_rounding.rs:593
Functionsame_scenario_ranks_identically_on_both_chains
()
crates/winner-selection/src/tests.rs:59
Functionsample_order_validation_reports_every_failure
()
crates/fee-engine/src/rules.rs:730
Functionsample_order_view_has_every_field
()
crates/fee-engine/src/order_view/mod.rs:368
Methodsatisfies
Whether the swap fills `order` at or better than its limit price.
crates/solana-solvers/src/dex/mod.rs:76
Functionsatisfies_limit_price_input_at_signed_ratio
()
crates/shared/src/fee.rs:275
Functionsatisfies_limit_price_output_at_signed_ratio
()
crates/shared/src/fee.rs:248
Functionsatisfies_limit_price_partial_fill_at_signed_ratio
()
crates/shared/src/fee.rs:302
Methodsaturating_add
(self, v: Self)
crates/eth-domain-types/src/ether.rs:37
Methodsaturating_add_assign
(&mut self, other: Self)
crates/autopilot/src/domain/competition/mod.rs:87
Methodsaturating_sub
(self, v: Self)
crates/eth-domain-types/src/ether.rs:41
Methodsave
(&self, data: QuoteCompetition)
crates/autopilot/src/database/auction.rs:28
Methodsave_auction
Save auction related data to the database.
crates/autopilot/src/infra/persistence/mod.rs:347
Methodsave_solutions
Save all valid solutions that participated in the competition for an auction, together with the reference score of each participating solver.
crates/autopilot/src/infra/persistence/mod.rs:185
Functionscale_order_by_available_balance
()
crates/shared/src/remaining_amounts.rs:335
Functionscaled_ui_amount_mints_price_through_their_multiplier
()
crates/autopilot-svm/src/infra/prices.rs:1523
Functionscales_whole_token_prices_to_atoms
()
crates/autopilot-svm/src/infra/prices.rs:1066
Functionscaling_factor_error_on_missing_decimals
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:888
Functionscaling_factor_error_on_missing_info
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:865
Functionscaling_factor_from_decimals_ok_and_err
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:984
Functionscheduled_multipliers_apply_at_their_timestamp
()
crates/autopilot-svm/src/infra/prices.rs:1617
Functionscore
Computes the score of a single solution denominated in NATIVE token. Same math the ranking path uses — intended for callers that already know the win
crates/winner-selection/src/arbitrator.rs:279
Methodscore
(&self)
crates/model/src/solver_competition.rs:67
Functionscore_problematic_buy_order
()
crates/driver/src/domain/competition/solution/scoring.rs:230
Functionscore_trade_with_winner_selection
( trade: &super::trade::Trade, auction: &super::Auction, )
crates/autopilot/src/domain/settlement/mod.rs:412
Functionscoring_failed
Observe that scoring failed.
crates/driver/src/infra/observe/mod.rs:159
Methodseed
Re-check every open window: a NOTIFY missed while the connection was down (or while the autopilot was not running) is recovered here.
crates/autopilot-svm/src/infra/observation.rs:239
Methodseeded
(entries: impl IntoIterator<Item = (Pubkey, Option<u64>)>)
crates/autopilot-svm/src/infra/prices.rs:316
Methodselector
(&self)
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1270
Methodselector
(&self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:7278
Methodselector
(&self)
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4709
Methodselector
(&self)
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1155
Methodselector
(&self)
contracts/generated/contracts-generated/signatures/src/lib.rs:809
Methodselector
(&self)
contracts/generated/contracts-generated/uniswapv3swaprouterv2/src/lib.rs:765
Methodselector
(&self)
contracts/generated/contracts-generated/uniswapv3quoterv2/src/lib.rs:2220
Methodselector
(&self)
contracts/generated/contracts-generated/counter/src/lib.rs:614
Methodselector
(&self)
contracts/generated/contracts-generated/gpv2allowlistauthentication/src/lib.rs:1439
Methodselector
(&self)
contracts/generated/contracts-generated/ierc4626/src/lib.rs:401
Methodselector
(&self)
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4105
Methodselector
(&self)
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1155
Methodselector
(&self)
contracts/generated/contracts-generated/gpv2settlement/src/lib.rs:4253
Methodselector
(&self)
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3489
Methodselector
(&self)
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv3/src/lib.rs:1001
Methodselector
(&self)
contracts/generated/contracts-generated/iuniswapv3factory/src/lib.rs:895
Methodselector
(&self)
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1155
Methodselector
(&self)
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2123
Methodselector
(&self)
contracts/generated/contracts-generated/deadlinecheck/src/lib.rs:361
Methodselector
(&self)
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1155
Methodselector
(&self)
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1155
Methodselector
(&self)
contracts/generated/contracts-generated/solver/src/lib.rs:591
Methodselector
(&self)
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3121
Methodselector
(&self)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv3/src/lib.rs:1037
Methodselector
(&self)
contracts/generated/contracts-generated/permit2/src/lib.rs:3567
Methodselector
(&self)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv5/src/lib.rs:1037
← previousnext →8,901–9,000 of 10,736, ranked by callers