Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,747 in github.com/cowprotocol/services
⨍
Functions
10,747
◇
Types & classes
3,488
Function
required_from_env_var
()
crates/configs/src/deserialize_env.rs:138
Function
required_invalid_url_is_error
()
crates/configs/src/deserialize_env.rs:155
Function
required_missing_env_var_is_error
()
crates/configs/src/deserialize_env.rs:149
Function
required_output_is_the_exact_boundary_of_the_cap
()
crates/solana-driver/src/domain/settlement.rs:2431
Function
requires_bitget_credentials
()
crates/solana-solvers/src/config.rs:207
Function
resets_counter_on_success
()
crates/price-estimation/src/native/fallback.rs:465
Method
resolve
Effective payout address: the inner value when a custom receiver was set, otherwise `owner` (because the settlement contract treats `0x0000…` as "pay
crates/eth-domain-types/src/receiver.rs:35
Function
resolved_token_programs_are_cached
()
crates/solana-driver/src/infra/blockchain/mod.rs:429
Function
resolves_a_missing_buy_ata_as_an_account_to_create
()
crates/solana-driver/src/domain/settlement.rs:2103
Function
resolves_each_buy_token_account
()
crates/solana-driver/src/domain/auction.rs:486
Function
resolves_settlement_and_solflow_across_top_level_and_cpi
()
crates/solana-indexer/src/indexer/decoder/tests.rs:138
Function
respects_max_age_limit_for_recent
()
crates/liquidity-sources/src/recent_block_cache.rs:895
Function
response_from_json
(value: Value)
crates/liquidity-sources/src/subgraph.rs:221
Function
restamping_leaves_every_other_byte_untouched
()
crates/simulator/src/state_override_stream.rs:925
Method
retrieve_value_from_path
(source: &'a Value, path: &'a str)
contracts/src/vendor.rs:322
Function
returns_existing_request_id_header
()
crates/observe/src/tracing/distributed/request_id.rs:229
Function
returns_highest_native_price
()
crates/price-estimation/src/competition/native.rs:173
Function
returns_highest_priority_error
()
crates/price-estimation/src/competition/quote.rs:597
Function
returns_highest_priority_error_native
()
crates/price-estimation/src/competition/native.rs:186
Function
returns_the_solutions_found_by_the_deadline
()
crates/solana-solvers/src/domain/solver/mod.rs:627
Method
reveal
( &self, solution_id: u64, auction_id: auction::Id, )
crates/driver/src/domain/competition/mod.rs:884
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:585
Function
rich_errors_skip_unset_data_field
()
crates/orderbook/src/api.rs:556
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:191
Function
roundtrip_serialization
()
crates/configs/src/native_price.rs:152
Function
roundtrip_serialization
()
crates/configs/src/price_estimation.rs:408
Function
roundtrip_serialization
()
crates/configs/src/autopilot/mod.rs:594
Function
roundtrip_serialization
()
crates/configs/src/orderbook/native_price.rs:75
Function
roundtrip_serialization
()
crates/configs/src/orderbook/mod.rs:390
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
(name: &str, when: &str, fee: &str)
crates/orderbook/src/fee_engine.rs:327
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/autopilot/src/fee_engine.rs:542
Function
rules_must_load
()
crates/orderbook/src/fee_engine.rs:559
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:209
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:153
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:126
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:632
Function
satisfies_limit_price_output_at_signed_ratio
()
crates/shared/src/fee.rs:605
Function
satisfies_limit_price_partial_fill_at_signed_ratio
()
crates/shared/src/fee.rs:659
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:27
Method
save_auction
Save auction related data to the database.
crates/autopilot/src/infra/persistence/mod.rs:348
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:186
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:1418
Function
scales_whole_token_prices_to_atoms
()
crates/autopilot-svm/src/infra/prices.rs:1011
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:1512
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:292
Method
selector
(&self)
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1277
Method
selector
(&self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:7286
Method
selector
(&self)
contracts/generated/contracts-generated/chainalysisoracle/src/lib.rs:1245
Method
selector
(&self)
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4731
← previous
next →
8,901–9,000 of 10,747, ranked by callers