MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,824 in github.com/cowprotocol/services

Methodsolve
(&self, auction: auction::Auction)
crates/solvers/src/domain/solver/dex/mod.rs:78
Methodsolve
(&self, auction: &Auction)
crates/autopilot-svm/src/infra/competition.rs:63
Functionsolve_cuts_at_the_policy_default_compute_units_without_a_simulation
()
crates/solana-driver/tests/api.rs:1066
Functionsolve_cuts_at_the_simulated_compute_units
()
crates/solana-driver/tests/api.rs:1091
Functionsolve_cuts_the_execution_cost_and_the_fee_from_the_fill
()
crates/solana-driver/tests/api.rs:1045
Functionsolve_deadline_aligned_with_blockchain
()
crates/autopilot/src/run_loop.rs:1392
Functionsolve_declares_the_simulated_units_whatever_the_engine_estimated
()
crates/solana-driver/tests/api.rs:1110
Functionsolve_discards_duplicate_solution_ids
()
crates/solana-driver/tests/api.rs:642
Functionsolve_does_not_send_an_unpriced_order_it_would_cut
()
crates/solana-driver/tests/api.rs:1178
Functionsolve_drops_a_solution_over_the_transaction_size_limit
()
crates/solana-driver/tests/api.rs:677
Functionsolve_drops_a_solution_whose_bundle_simulation_fails
()
crates/solana-driver/tests/api.rs:1550
Functionsolve_drops_an_order_whose_buy_account_cannot_be_created
()
crates/solana-driver/tests/api.rs:588
Functionsolve_drops_an_order_with_nothing_left_to_fill
()
crates/solana-driver/tests/api.rs:572
Functionsolve_drops_the_fill_the_cut_pushes_under_the_limit
()
crates/solana-driver/tests/api.rs:1166
Methodsolve_err
(driver: &infra::Driver, elapsed: Duration, err: &SolveError)
crates/autopilot/src/run_loop.rs:1096
Methodsolve_every_nth_auction
The auction-id stride this solver participates at, when throttled.
crates/solana-driver/src/infra/solver/mod.rs:58
Functionsolve_flags_a_missing_buy_token_account_to_the_engine
()
crates/solana-driver/tests/api.rs:491
Functionsolve_flags_a_receivers_missing_buy_token_account_to_the_engine
()
crates/solana-driver/tests/api.rs:604
Functionsolve_forwards_native_prices_to_the_engine
()
crates/solana-driver/tests/api.rs:507
Functionsolve_handler_receives_decompressed_brotli_body
()
crates/driver/src/infra/api/mod.rs:287
Functionsolve_handler_receives_plain_body_unchanged
()
crates/driver/src/infra/api/mod.rs:300
Functionsolve_ids
(cu_estimate: u32, max_priority_fee_lamports: u64)
crates/solana-driver/tests/api.rs:1111
Functionsolve_keeps_a_solution_whose_bundle_simulation_stops_short
()
crates/solana-driver/tests/api.rs:1587
Functionsolve_keeps_the_first_of_duplicate_solution_ids
()
crates/solana-driver/tests/api.rs:899
Methodsolve_ok
(driver: &infra::Driver, elapsed: Duration)
crates/autopilot/src/run_loop.rs:1089
Functionsolve_preserves_the_solvers_ordering
()
crates/solana-driver/tests/api.rs:924
Functionsolve_prices_the_cut_at_the_reserve_fees_when_the_fee_fetch_fails
()
crates/solana-driver/tests/api.rs:1142
Functionsolve_rejects_a_fee_policy_factor_outside_the_unit_interval
()
crates/solana-driver/tests/api.rs:1246
Functionsolve_rejects_a_malformed_creation
()
crates/solana-driver/tests/api.rs:1571
Methodsolve_request_body_sizes
(kind: &str, requests: &solve::EncodedRequests)
crates/autopilot/src/run_loop.rs:1221
Functionsolve_request_pins_the_wire_format
()
crates/solana-driver/src/infra/api/routes/solve/dto/solve_request.rs:384
Functionsolve_response_pins_the_wire_format
()
crates/solana-driver/src/infra/api/routes/solve/dto/solve_response.rs:96
Functionsolve_returns_converted_solutions
()
crates/solana-driver/tests/api.rs:442
Functionsolve_sends_a_partially_filled_order_as_its_remainder
()
crates/solana-driver/tests/api.rs:529
Functionsolve_status
Post a `/solve` and return the HTTP status, without asserting on it.
crates/solana-driver/tests/api.rs:336
Functionsolve_takes_part_every_nth_solve
()
crates/solana-driver/tests/api.rs:1533
Functionsolve_takes_the_protocol_fee_after_the_cut_and_the_solver_fee
()
crates/solana-driver/tests/api.rs:1205
Functionsolve_takes_the_protocol_fee_from_a_self_pricing_engines_fill
()
crates/solana-driver/tests/api.rs:1229
Functionsolve_with_engine_down_returns_solver_failed
()
crates/solana-driver/tests/api.rs:717
Functionsolve_with_past_deadline_returns_empty
()
crates/solana-driver/src/infra/solver/mod.rs:207
Functionsolver_competition
(web3: Web3)
crates/e2e/tests/e2e/solver_competition.rs:50
Functionsolver_competition_by_id
Handle `GET /api/v2/solver_competition/{auction_id}`.
crates/solana-orderbook/src/infra/api/routes/solver_competition/mod.rs:17
Functionsolver_competition_by_id_unfiltered
Handle `GET /restricted/api/v2/solver_competition/{auction_id}`: the competition before its deadline too. The edge blocks the `/restricted` prefix, pa
crates/solana-orderbook/src/infra/api/routes/solver_competition/mod.rs:30
Functionsolver_competition_by_tx_hash
Handle `GET /api/v2/solver_competition/by_tx_hash/{tx_hash}`. The path is the one clients share across chains, the parameter is the settlement transac
crates/solana-orderbook/src/infra/api/routes/solver_competition/mod.rs:43
Functionsolver_competition_latest
Handle `GET /api/v2/solver_competition/latest`.
crates/solana-orderbook/src/infra/api/routes/solver_competition/mod.rs:58
Functionsolver_competition_rejects_malformed_path_parameters
()
crates/solana-orderbook/tests/api.rs:244
Functionsolver_config_parses
()
crates/solana-driver/src/infra/config.rs:210
Functionsolver_fee
()
crates/driver/src/tests/cases/fees.rs:14
Methodsolver_fee
The volume-based fee policy injected for this solver, if configured. Reuses the protocol fee machinery for conservative bidding.
crates/driver/src/infra/solver/mod.rs:374
Methodsolver_fee_bps
(self, solver_fee_bps: u32)
crates/driver/src/tests/setup/mod.rs:414
Functionsolver_fee_bps_at_max_is_rejected
()
crates/solana-driver/src/infra/config.rs:277
Functionsolver_fee_bps_defaults_to_none
()
crates/solana-driver/src/infra/config.rs:251
Functionsolver_fee_bps_out_of_u16_range_is_rejected
()
crates/solana-driver/src/infra/config.rs:288
Functionsolver_fee_bps_parses
()
crates/solana-driver/src/infra/config.rs:262
Functionsolver_fee_increases_sell_amount_for_buy_order
()
crates/driver/src/tests/cases/solver_fee.rs:172
Functionsolver_fee_is_unwound_but_not_scored
()
crates/driver/src/domain/competition/solution/scoring.rs:272
Functionsolver_fee_reduces_score_for_sell_order
()
crates/driver/src/tests/cases/solver_fee.rs:33
Methodsolver_name
(&self)
crates/solana-driver/src/domain/competition.rs:105
Methodsolving_time_share
(self, share: f64)
crates/driver/src/tests/setup/mod.rs:395
Methodsort_orders
Oders already need to be sorted from most relevant to least relevant so that we allocate balances for the most relevants first.
crates/driver/src/domain/competition/mod.rs:727
Functionspardose_amount_applies_1pct_overshoot
()
crates/price-estimation/src/trade_verifier.rs:985
Functionspawn
Sweeps every [`SWEEP_INTERVAL`], starting right away. A failed sweep is logged and retried on the next tick.
crates/autopilot-svm/src/infra/order_execution.rs:78
Methodspawn
(pool: &PgPool, key: String)
crates/leader-lock/src/leader_pg_lock.rs:48
Methodspawn
Spawns a background task that listens for new order notifications from PostgreSQL and forwards every arriving order to the registered systems.
crates/autopilot/src/infra/order_notify/mod.rs:42
Methodspawn
Spawns the listen loop as a task. It reconnects with capped exponential backoff and runs until the returned handle is aborted.
crates/autopilot-svm/src/infra/listen.rs:41
Methodspawn_block_listener
Spawns a background task that listens for new blocks from the blockchain.
crates/autopilot/src/run_loop.rs:318
Methodspawn_db_upload_task
Spawns a task that writes the most recent auction to the DB. Uploads happen on a FIFO basis so the last write will always be the most recent auction.
crates/autopilot/src/infra/persistence/mod.rs:85
Methodspawn_gc
(cache: Cache<Request, Fut>, label: String)
crates/request-sharing/src/lib.rs:90
Methodspawn_gc_task
( inner: std::sync::Weak<Inner<K, V, F>>, block_stream: CurrentBlockWatcher, refresh_c
crates/liquidity-sources/src/recent_block_cache.rs:223
Methodspawn_gc_task
Spawns a background tasks that periodically evicts items from the cache that are no longer relevant to avoid bloat.
crates/driver/src/domain/competition/risk_detector/bad_orders/metrics.rs:144
Methodspawn_process
Spawn a new node instance using the list of given arguments.
crates/e2e/src/nodes/mod.rs:56
Methodspawn_shared
Spawns an async task and returns a `Shared` handle to its result. Errors are not handled as we are deferring all error handling to where the shared fu
crates/driver/src/domain/competition/pre_processing.rs:192
Methodspawn_with_idle_timeout
(pool: &PgPool, key: String, idle_timeout: Duration)
crates/leader-lock/src/leader_pg_lock.rs:52
Methodspecialize_pool_info
(&self, pool: common::PoolInfo)
crates/liquidity-sources/src/balancer_v2/pools/composable_stable.rs:39
Methodspecialize_pool_info
(&self, pool: common::PoolInfo)
crates/liquidity-sources/src/balancer_v2/pools/liquidity_bootstrapping.rs:46
Functionsplit_and_join
()
crates/shared/src/url.rs:46
Functionsplit_range_test_equal
()
crates/event-indexing/src/event_handler.rs:827
Functionsplit_range_test_max_queries
()
crates/event-indexing/src/event_handler.rs:834
Functionsplit_range_test_max_queries_minus_one
()
crates/event-indexing/src/event_handler.rs:841
Functionsplit_range_test_max_queries_plus_one
()
crates/event-indexing/src/event_handler.rs:848
Functionstable
()
crates/solvers/src/tests/cases/bal_liquidity.rs:285
Functionstable_get_amount_in
()
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:656
Functionstable_get_amount_out
()
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:623
Functionstacks_a_list_and_accepts_cel_arguments
()
crates/fee-engine/src/fee.rs:357
Functionstages_start_together_while_short_of_prices
()
crates/autopilot-svm/src/infra/prices.rs:1498
Functionstaging_mainnet_auction_12825008
()
crates/autopilot/src/domain/competition/winner_selection.rs:856
Functionstale_coingecko_prices_fall_back_to_the_driver_source
()
crates/autopilot-svm/src/infra/prices.rs:1376
Functionstale_denominator_fails_the_batch
()
crates/price-estimation/src/native/coingecko.rs:499
Functionstale_prices_are_not_estimates
()
crates/price-estimation/src/native/coingecko.rs:469
Functionstamp_is_located_by_value_not_by_position
()
crates/simulator/src/state_override_stream.rs:998
Functionstandard_verified_quote
Verified quotes work as expected.
crates/e2e/tests/e2e/quote_verification.rs:80
Methodstart
(component: &'a str, method: &'a str)
crates/cow-solana-rpc/src/lib.rs:577
Methodstart
Starts the orderbook server. Uses the provided orders to populate the app_data storage where only full app_data is stored. The server listens on a ran
crates/driver/src/tests/setup/orderbook.rs:30
Methodstart
Creates new mocked `LiquoriceApi` with internal state
crates/e2e/src/api/liquorice/server.rs:23
Methodstart_db_metrics_job
(pool: PgPool)
crates/autopilot/src/database/mod.rs:55
Methodstart_inner
( listen_addr: SocketAddr, backends: &[Url], on_request: Option<OnRequest>, )
crates/e2e/src/setup/proxy.rs:93
Methodstart_protocol_external_solver
Starts a basic version of the protocol with a single external solver. Optionally starts a baseline solver and uses it for price estimation.
crates/e2e/src/setup/services.rs:309
Methodstart_with_callback
Start a new proxy server with a callback invoked on each request before it is forwarded to the backend. # Panics Panics if `backends` is empty. At le
crates/e2e/src/setup/proxy.rs:85
Methodstate_override
Builds the state override for `(owner, spender, amount)`.
crates/balance-overrides/src/approval/mod.rs:175
Methodstate_overrider
(&self)
crates/driver/src/infra/blockchain/mod.rs:168
← previousnext →9,501–9,600 of 10,824, ranked by callers