MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,747 in github.com/cowprotocol/services

Functionrequired_from_env_var
()
crates/configs/src/deserialize_env.rs:138
Functionrequired_invalid_url_is_error
()
crates/configs/src/deserialize_env.rs:155
Functionrequired_missing_env_var_is_error
()
crates/configs/src/deserialize_env.rs:149
Functionrequired_output_is_the_exact_boundary_of_the_cap
()
crates/solana-driver/src/domain/settlement.rs:2431
Functionrequires_bitget_credentials
()
crates/solana-solvers/src/config.rs:207
Functionresets_counter_on_success
()
crates/price-estimation/src/native/fallback.rs:465
Methodresolve
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
Functionresolved_token_programs_are_cached
()
crates/solana-driver/src/infra/blockchain/mod.rs:429
Functionresolves_a_missing_buy_ata_as_an_account_to_create
()
crates/solana-driver/src/domain/settlement.rs:2103
Functionresolves_each_buy_token_account
()
crates/solana-driver/src/domain/auction.rs:486
Functionresolves_settlement_and_solflow_across_top_level_and_cpi
()
crates/solana-indexer/src/indexer/decoder/tests.rs:138
Functionrespects_max_age_limit_for_recent
()
crates/liquidity-sources/src/recent_block_cache.rs:895
Functionresponse_from_json
(value: Value)
crates/liquidity-sources/src/subgraph.rs:221
Functionrestamping_leaves_every_other_byte_untouched
()
crates/simulator/src/state_override_stream.rs:925
Methodretrieve_value_from_path
(source: &'a Value, path: &'a str)
contracts/src/vendor.rs:322
Functionreturns_existing_request_id_header
()
crates/observe/src/tracing/distributed/request_id.rs:229
Functionreturns_highest_native_price
()
crates/price-estimation/src/competition/native.rs:173
Functionreturns_highest_priority_error
()
crates/price-estimation/src/competition/quote.rs:597
Functionreturns_highest_priority_error_native
()
crates/price-estimation/src/competition/native.rs:186
Functionreturns_the_solutions_found_by_the_deadline
()
crates/solana-solvers/src/domain/solver/mod.rs:627
Methodreveal
( &self, solution_id: u64, auction_id: auction::Id, )
crates/driver/src/domain/competition/mod.rs:884
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:585
Functionrich_errors_skip_unset_data_field
()
crates/orderbook/src/api.rs:556
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:191
Functionroundtrip_serialization
()
crates/configs/src/native_price.rs:152
Functionroundtrip_serialization
()
crates/configs/src/price_estimation.rs:408
Functionroundtrip_serialization
()
crates/configs/src/autopilot/mod.rs:594
Functionroundtrip_serialization
()
crates/configs/src/orderbook/native_price.rs:75
Functionroundtrip_serialization
()
crates/configs/src/orderbook/mod.rs:390
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
(name: &str, when: &str, fee: &str)
crates/orderbook/src/fee_engine.rs:327
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/autopilot/src/fee_engine.rs:542
Functionrules_must_load
()
crates/orderbook/src/fee_engine.rs:559
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:209
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:153
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:126
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:632
Functionsatisfies_limit_price_output_at_signed_ratio
()
crates/shared/src/fee.rs:605
Functionsatisfies_limit_price_partial_fill_at_signed_ratio
()
crates/shared/src/fee.rs:659
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:27
Methodsave_auction
Save auction related data to the database.
crates/autopilot/src/infra/persistence/mod.rs:348
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:186
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:1418
Functionscales_whole_token_prices_to_atoms
()
crates/autopilot-svm/src/infra/prices.rs:1011
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:1512
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:292
Methodselector
(&self)
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1277
Methodselector
(&self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:7286
Methodselector
(&self)
contracts/generated/contracts-generated/chainalysisoracle/src/lib.rs:1245
Methodselector
(&self)
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4731
← previousnext →8,901–9,000 of 10,747, ranked by callers