Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,824 in github.com/cowprotocol/services
⨍
Functions
10,824
◇
Types & classes
3,468
Method
solve
(&self, auction: auction::Auction)
crates/solvers/src/domain/solver/dex/mod.rs:78
Method
solve
(&self, auction: &Auction)
crates/autopilot-svm/src/infra/competition.rs:63
Function
solve_cuts_at_the_policy_default_compute_units_without_a_simulation
()
crates/solana-driver/tests/api.rs:1066
Function
solve_cuts_at_the_simulated_compute_units
()
crates/solana-driver/tests/api.rs:1091
Function
solve_cuts_the_execution_cost_and_the_fee_from_the_fill
()
crates/solana-driver/tests/api.rs:1045
Function
solve_deadline_aligned_with_blockchain
()
crates/autopilot/src/run_loop.rs:1392
Function
solve_declares_the_simulated_units_whatever_the_engine_estimated
()
crates/solana-driver/tests/api.rs:1110
Function
solve_discards_duplicate_solution_ids
()
crates/solana-driver/tests/api.rs:642
Function
solve_does_not_send_an_unpriced_order_it_would_cut
()
crates/solana-driver/tests/api.rs:1178
Function
solve_drops_a_solution_over_the_transaction_size_limit
()
crates/solana-driver/tests/api.rs:677
Function
solve_drops_a_solution_whose_bundle_simulation_fails
()
crates/solana-driver/tests/api.rs:1550
Function
solve_drops_an_order_whose_buy_account_cannot_be_created
()
crates/solana-driver/tests/api.rs:588
Function
solve_drops_an_order_with_nothing_left_to_fill
()
crates/solana-driver/tests/api.rs:572
Function
solve_drops_the_fill_the_cut_pushes_under_the_limit
()
crates/solana-driver/tests/api.rs:1166
Method
solve_err
(driver: &infra::Driver, elapsed: Duration, err: &SolveError)
crates/autopilot/src/run_loop.rs:1096
Method
solve_every_nth_auction
The auction-id stride this solver participates at, when throttled.
crates/solana-driver/src/infra/solver/mod.rs:58
Function
solve_flags_a_missing_buy_token_account_to_the_engine
()
crates/solana-driver/tests/api.rs:491
Function
solve_flags_a_receivers_missing_buy_token_account_to_the_engine
()
crates/solana-driver/tests/api.rs:604
Function
solve_forwards_native_prices_to_the_engine
()
crates/solana-driver/tests/api.rs:507
Function
solve_handler_receives_decompressed_brotli_body
()
crates/driver/src/infra/api/mod.rs:287
Function
solve_handler_receives_plain_body_unchanged
()
crates/driver/src/infra/api/mod.rs:300
Function
solve_ids
(cu_estimate: u32, max_priority_fee_lamports: u64)
crates/solana-driver/tests/api.rs:1111
Function
solve_keeps_a_solution_whose_bundle_simulation_stops_short
()
crates/solana-driver/tests/api.rs:1587
Function
solve_keeps_the_first_of_duplicate_solution_ids
()
crates/solana-driver/tests/api.rs:899
Method
solve_ok
(driver: &infra::Driver, elapsed: Duration)
crates/autopilot/src/run_loop.rs:1089
Function
solve_preserves_the_solvers_ordering
()
crates/solana-driver/tests/api.rs:924
Function
solve_prices_the_cut_at_the_reserve_fees_when_the_fee_fetch_fails
()
crates/solana-driver/tests/api.rs:1142
Function
solve_rejects_a_fee_policy_factor_outside_the_unit_interval
()
crates/solana-driver/tests/api.rs:1246
Function
solve_rejects_a_malformed_creation
()
crates/solana-driver/tests/api.rs:1571
Method
solve_request_body_sizes
(kind: &str, requests: &solve::EncodedRequests)
crates/autopilot/src/run_loop.rs:1221
Function
solve_request_pins_the_wire_format
()
crates/solana-driver/src/infra/api/routes/solve/dto/solve_request.rs:384
Function
solve_response_pins_the_wire_format
()
crates/solana-driver/src/infra/api/routes/solve/dto/solve_response.rs:96
Function
solve_returns_converted_solutions
()
crates/solana-driver/tests/api.rs:442
Function
solve_sends_a_partially_filled_order_as_its_remainder
()
crates/solana-driver/tests/api.rs:529
Function
solve_status
Post a `/solve` and return the HTTP status, without asserting on it.
crates/solana-driver/tests/api.rs:336
Function
solve_takes_part_every_nth_solve
()
crates/solana-driver/tests/api.rs:1533
Function
solve_takes_the_protocol_fee_after_the_cut_and_the_solver_fee
()
crates/solana-driver/tests/api.rs:1205
Function
solve_takes_the_protocol_fee_from_a_self_pricing_engines_fill
()
crates/solana-driver/tests/api.rs:1229
Function
solve_with_engine_down_returns_solver_failed
()
crates/solana-driver/tests/api.rs:717
Function
solve_with_past_deadline_returns_empty
()
crates/solana-driver/src/infra/solver/mod.rs:207
Function
solver_competition
(web3: Web3)
crates/e2e/tests/e2e/solver_competition.rs:50
Function
solver_competition_by_id
Handle `GET /api/v2/solver_competition/{auction_id}`.
crates/solana-orderbook/src/infra/api/routes/solver_competition/mod.rs:17
Function
solver_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
Function
solver_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
Function
solver_competition_latest
Handle `GET /api/v2/solver_competition/latest`.
crates/solana-orderbook/src/infra/api/routes/solver_competition/mod.rs:58
Function
solver_competition_rejects_malformed_path_parameters
()
crates/solana-orderbook/tests/api.rs:244
Function
solver_config_parses
()
crates/solana-driver/src/infra/config.rs:210
Function
solver_fee
()
crates/driver/src/tests/cases/fees.rs:14
Method
solver_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
Method
solver_fee_bps
(self, solver_fee_bps: u32)
crates/driver/src/tests/setup/mod.rs:414
Function
solver_fee_bps_at_max_is_rejected
()
crates/solana-driver/src/infra/config.rs:277
Function
solver_fee_bps_defaults_to_none
()
crates/solana-driver/src/infra/config.rs:251
Function
solver_fee_bps_out_of_u16_range_is_rejected
()
crates/solana-driver/src/infra/config.rs:288
Function
solver_fee_bps_parses
()
crates/solana-driver/src/infra/config.rs:262
Function
solver_fee_increases_sell_amount_for_buy_order
()
crates/driver/src/tests/cases/solver_fee.rs:172
Function
solver_fee_is_unwound_but_not_scored
()
crates/driver/src/domain/competition/solution/scoring.rs:272
Function
solver_fee_reduces_score_for_sell_order
()
crates/driver/src/tests/cases/solver_fee.rs:33
Method
solver_name
(&self)
crates/solana-driver/src/domain/competition.rs:105
Method
solving_time_share
(self, share: f64)
crates/driver/src/tests/setup/mod.rs:395
Method
sort_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
Function
spardose_amount_applies_1pct_overshoot
()
crates/price-estimation/src/trade_verifier.rs:985
Function
spawn
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
Method
spawn
(pool: &PgPool, key: String)
crates/leader-lock/src/leader_pg_lock.rs:48
Method
spawn
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
Method
spawn
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
Method
spawn_block_listener
Spawns a background task that listens for new blocks from the blockchain.
crates/autopilot/src/run_loop.rs:318
Method
spawn_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
Method
spawn_gc
(cache: Cache<Request, Fut>, label: String)
crates/request-sharing/src/lib.rs:90
Method
spawn_gc_task
( inner: std::sync::Weak<Inner<K, V, F>>, block_stream: CurrentBlockWatcher, refresh_c
crates/liquidity-sources/src/recent_block_cache.rs:223
Method
spawn_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
Method
spawn_process
Spawn a new node instance using the list of given arguments.
crates/e2e/src/nodes/mod.rs:56
Method
spawn_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
Method
spawn_with_idle_timeout
(pool: &PgPool, key: String, idle_timeout: Duration)
crates/leader-lock/src/leader_pg_lock.rs:52
Method
specialize_pool_info
(&self, pool: common::PoolInfo)
crates/liquidity-sources/src/balancer_v2/pools/composable_stable.rs:39
Method
specialize_pool_info
(&self, pool: common::PoolInfo)
crates/liquidity-sources/src/balancer_v2/pools/liquidity_bootstrapping.rs:46
Function
split_and_join
()
crates/shared/src/url.rs:46
Function
split_range_test_equal
()
crates/event-indexing/src/event_handler.rs:827
Function
split_range_test_max_queries
()
crates/event-indexing/src/event_handler.rs:834
Function
split_range_test_max_queries_minus_one
()
crates/event-indexing/src/event_handler.rs:841
Function
split_range_test_max_queries_plus_one
()
crates/event-indexing/src/event_handler.rs:848
Function
stable
()
crates/solvers/src/tests/cases/bal_liquidity.rs:285
Function
stable_get_amount_in
()
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:656
Function
stable_get_amount_out
()
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:623
Function
stacks_a_list_and_accepts_cel_arguments
()
crates/fee-engine/src/fee.rs:357
Function
stages_start_together_while_short_of_prices
()
crates/autopilot-svm/src/infra/prices.rs:1498
Function
staging_mainnet_auction_12825008
()
crates/autopilot/src/domain/competition/winner_selection.rs:856
Function
stale_coingecko_prices_fall_back_to_the_driver_source
()
crates/autopilot-svm/src/infra/prices.rs:1376
Function
stale_denominator_fails_the_batch
()
crates/price-estimation/src/native/coingecko.rs:499
Function
stale_prices_are_not_estimates
()
crates/price-estimation/src/native/coingecko.rs:469
Function
stamp_is_located_by_value_not_by_position
()
crates/simulator/src/state_override_stream.rs:998
Function
standard_verified_quote
Verified quotes work as expected.
crates/e2e/tests/e2e/quote_verification.rs:80
Method
start
(component: &'a str, method: &'a str)
crates/cow-solana-rpc/src/lib.rs:577
Method
start
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
Method
start
Creates new mocked `LiquoriceApi` with internal state
crates/e2e/src/api/liquorice/server.rs:23
Method
start_db_metrics_job
(pool: PgPool)
crates/autopilot/src/database/mod.rs:55
Method
start_inner
( listen_addr: SocketAddr, backends: &[Url], on_request: Option<OnRequest>, )
crates/e2e/src/setup/proxy.rs:93
Method
start_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
Method
start_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
Method
state_override
Builds the state override for `(owner, spender, amount)`.
crates/balance-overrides/src/approval/mod.rs:175
Method
state_overrider
(&self)
crates/driver/src/infra/blockchain/mod.rs:168
← previous
next →
9,501–9,600 of 10,824, ranked by callers