Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,736 in github.com/cowprotocol/services
⨍
Functions
10,736
◇
Types & classes
3,464
Function
reverting_convert_to_assets_is_treated_as_non_vault
()
crates/price-estimation/src/native/eip4626.rs:433
Method
revoke
Revoke the approval, i.e. set the approved amount to [`U256::zero`].
crates/eth-domain-types/src/allowance.rs:57
Function
rich_errors_handle_serialization_errors
()
crates/orderbook/src/api.rs:586
Function
rich_errors_skip_unset_data_field
()
crates/orderbook/src/api.rs:557
Function
role_id
(vault: Address)
crates/e2e/src/setup/deploy.rs:303
Function
round_does_not_panic
()
crates/solvers/src/domain/dex/slippage.rs:221
Function
roundtrip_internal
( mut request: RequestBuilder, log_request: impl FnOnce(&Method, &Url, Option<&str>, &str), log_re
crates/solvers/src/util/http.rs:44
Function
roundtrip_serialization
()
crates/configs/src/order_quoting.rs:182
Function
roundtrip_serialization
()
crates/configs/src/native_price.rs:152
Function
roundtrip_serialization
()
crates/configs/src/price_estimation.rs:422
Function
roundtrip_serialization
()
crates/configs/src/autopilot/mod.rs:528
Function
roundtrip_serialization
()
crates/configs/src/orderbook/native_price.rs:75
Function
roundtrip_serialization
()
crates/configs/src/orderbook/mod.rs:378
Function
roundtrip_serialization
()
crates/configs/src/orderbook/order_validation.rs:115
Function
roundtrip_serialization
()
crates/configs/src/orderbook/ipfs.rs:107
Function
route
()
crates/driver/src/infra/api/routes/healthz.rs:11
Function
route
()
crates/driver/src/infra/api/routes/metrics.rs:5
Function
route
(state: axum::extract::State<State>)
crates/driver/src/infra/api/routes/info.rs:8
Function
route
( eth: axum::extract::State<Ethereum>, )
crates/driver/src/infra/api/routes/gasprice.rs:13
Function
route
( state: axum::extract::State<State>, LoggingJson(req): LoggingJson<dto::SettleRequest>, )
crates/driver/src/infra/api/routes/settle/mod.rs:18
Function
route
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
Function
route
( state: axum::extract::State<State>, LoggingQuery(order): LoggingQuery<dto::Order>, )
crates/driver/src/infra/api/routes/quote/mod.rs:17
Function
route
( 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
Function
route
( state: axum::extract::State<State>, LoggingJson(req): LoggingJson<dto::RevealRequest>, )
crates/driver/src/infra/api/routes/reveal/mod.rs:18
Method
rpc_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
Function
rule
(name: &str, when: &str, fee: &str)
crates/fee-engine/src/rules.rs:440
Function
rule
(name: &str, when: &str, fee: &str)
crates/fee-engine/src/evaluator.rs:181
Function
rule
(name: &str, when: &str, fee: &str)
crates/fee-engine/tests/rules.rs:26
Function
rule_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
Function
rule_set_is_shared_across_threads
()
crates/fee-engine/src/rules.rs:465
Function
rules_must_load
()
crates/shared/src/fee_engine.rs:356
Function
rules_must_load
()
crates/autopilot/src/fee_engine.rs:355
Function
rules_read_the_app_data
()
crates/fee-engine/src/evaluator.rs:461
Function
run
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
Method
run_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
Method
run_forever
(self, mut control: ShutdownController)
crates/autopilot/src/run_loop.rs:214
Method
run_forever
(self)
crates/autopilot/src/periodic_db_cleanup.rs:32
Function
run_forked_test_with_extra_filters
( f: F, fork_url: String, extra_filters: impl IntoIterator<Item = T>, )
crates/e2e/src/setup/mod.rs:159
Method
run_maintenance
(&self)
crates/liquidity-sources/src/balancer_v2/pool_fetching/registry.rs:126
Method
run_maintenance
(&self)
crates/event-indexing/src/event_handler.rs:646
Method
run_maintenance
(&self)
crates/autopilot/src/event_updater.rs:74
Function
run_maintenance_no_early_exit_on_error
()
crates/event-indexing/src/maintenance.rs:152
Method
run_orderbook_fetching
( api: Arc<dyn ZeroExApi>, blocks_stream: CurrentBlockWatcher, orderbook_cache: Arc<Or
crates/solver/src/liquidity/zeroex.rs:82
Function
run_test_with_extra_filters
( f: F, extra_filters: impl IntoIterator<Item = T>, )
crates/e2e/src/setup/mod.rs:132
Method
same_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
Function
same_mint_order_is_rejected
()
crates/solana-solvers/src/dto/solution.rs:302
Function
same_path
()
crates/solvers/src/tests/cases/buy_order_rounding.rs:593
Function
same_scenario_ranks_identically_on_both_chains
()
crates/winner-selection/src/tests.rs:59
Function
sample_order_validation_reports_every_failure
()
crates/fee-engine/src/rules.rs:730
Function
sample_order_view_has_every_field
()
crates/fee-engine/src/order_view/mod.rs:368
Method
satisfies
Whether the swap fills `order` at or better than its limit price.
crates/solana-solvers/src/dex/mod.rs:76
Function
satisfies_limit_price_input_at_signed_ratio
()
crates/shared/src/fee.rs:275
Function
satisfies_limit_price_output_at_signed_ratio
()
crates/shared/src/fee.rs:248
Function
satisfies_limit_price_partial_fill_at_signed_ratio
()
crates/shared/src/fee.rs:302
Method
saturating_add
(self, v: Self)
crates/eth-domain-types/src/ether.rs:37
Method
saturating_add_assign
(&mut self, other: Self)
crates/autopilot/src/domain/competition/mod.rs:87
Method
saturating_sub
(self, v: Self)
crates/eth-domain-types/src/ether.rs:41
Method
save
(&self, data: QuoteCompetition)
crates/autopilot/src/database/auction.rs:28
Method
save_auction
Save auction related data to the database.
crates/autopilot/src/infra/persistence/mod.rs:347
Method
save_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
Function
scale_order_by_available_balance
()
crates/shared/src/remaining_amounts.rs:335
Function
scaled_ui_amount_mints_price_through_their_multiplier
()
crates/autopilot-svm/src/infra/prices.rs:1523
Function
scales_whole_token_prices_to_atoms
()
crates/autopilot-svm/src/infra/prices.rs:1066
Function
scaling_factor_error_on_missing_decimals
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:888
Function
scaling_factor_error_on_missing_info
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:865
Function
scaling_factor_from_decimals_ok_and_err
()
crates/liquidity-sources/src/balancer_v2/pools/common.rs:984
Function
scheduled_multipliers_apply_at_their_timestamp
()
crates/autopilot-svm/src/infra/prices.rs:1617
Function
score
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
Method
score
(&self)
crates/model/src/solver_competition.rs:67
Function
score_problematic_buy_order
()
crates/driver/src/domain/competition/solution/scoring.rs:230
Function
score_trade_with_winner_selection
( trade: &super::trade::Trade, auction: &super::Auction, )
crates/autopilot/src/domain/settlement/mod.rs:412
Function
scoring_failed
Observe that scoring failed.
crates/driver/src/infra/observe/mod.rs:159
Method
seed
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
Method
seeded
(entries: impl IntoIterator<Item = (Pubkey, Option<u64>)>)
crates/autopilot-svm/src/infra/prices.rs:316
Method
selector
(&self)
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1270
Method
selector
(&self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:7278
Method
selector
(&self)
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4709
Method
selector
(&self)
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1155
Method
selector
(&self)
contracts/generated/contracts-generated/signatures/src/lib.rs:809
Method
selector
(&self)
contracts/generated/contracts-generated/uniswapv3swaprouterv2/src/lib.rs:765
Method
selector
(&self)
contracts/generated/contracts-generated/uniswapv3quoterv2/src/lib.rs:2220
Method
selector
(&self)
contracts/generated/contracts-generated/counter/src/lib.rs:614
Method
selector
(&self)
contracts/generated/contracts-generated/gpv2allowlistauthentication/src/lib.rs:1439
Method
selector
(&self)
contracts/generated/contracts-generated/ierc4626/src/lib.rs:401
Method
selector
(&self)
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4105
Method
selector
(&self)
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1155
Method
selector
(&self)
contracts/generated/contracts-generated/gpv2settlement/src/lib.rs:4253
Method
selector
(&self)
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3489
Method
selector
(&self)
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv3/src/lib.rs:1001
Method
selector
(&self)
contracts/generated/contracts-generated/iuniswapv3factory/src/lib.rs:895
Method
selector
(&self)
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1155
Method
selector
(&self)
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2123
Method
selector
(&self)
contracts/generated/contracts-generated/deadlinecheck/src/lib.rs:361
Method
selector
(&self)
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1155
Method
selector
(&self)
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1155
Method
selector
(&self)
contracts/generated/contracts-generated/solver/src/lib.rs:591
Method
selector
(&self)
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3121
Method
selector
(&self)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv3/src/lib.rs:1037
Method
selector
(&self)
contracts/generated/contracts-generated/permit2/src/lib.rs:3567
Method
selector
(&self)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv5/src/lib.rs:1037
← previous
next →
8,901–9,000 of 10,736, ranked by callers