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
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/hookstrampoline/src/lib.rs:1166
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/weth9/src/lib.rs:2863
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gashog/src/lib.rs:696
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5708
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2noprotocolfeeliquiditybootstrappingpoolfactory/src/lib.rs:797
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:597
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpoolfactory/src/lib.rs:785
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/flashloanrouter/src/lib.rs:340
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1401
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/erc20mintable/src/lib.rs:2219
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/anyoneauthenticator/src/lib.rs:455
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:766
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/multicall3/src/lib.rs:4522
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafeproxyfactory/src/lib.rs:700
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1401
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:4497
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2basepoolfactory/src/lib.rs:305
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactory/src/lib.rs:1363
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:1604
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/swapper/src/lib.rs:1458
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2weightedpool2tokensfactory/src/lib.rs:860
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2weightedpoolfactory/src/lib.rs:840
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafeproxy/src/lib.rs:255
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/spardose/src/lib.rs:475
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balances/src/lib.rs:1107
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv4/src/lib.rs:1324
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/uniswapv2factory/src/lib.rs:1030
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:467
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:5276
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv6/src/lib.rs:1363
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/nonstandarderc20balances/src/lib.rs:1519
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1780
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/solver7702delegate/src/lib.rs:482
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3914
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2authorizer/src/lib.rs:1355
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:222
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafecompatibilityfallbackhandler/src/lib.rs:1300
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/erc1271signaturevalidator/src/lib.rs:422
↓ 1 callers
Method
set_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/icowwrapper/src/lib.rs:576
↓ 1 callers
Method
set_auction_id
Changes auction ID for current test. Can be used in autopilot/solver related test cases to test context changes for competing solutions. Default value
crates/driver/src/tests/setup/mod.rs:1320
↓ 1 callers
Method
set_auto_mining
(&self, enabled: bool)
crates/driver/src/tests/setup/mod.rs:1324
↓ 1 callers
Method
set_order_valid_from
( &self, uid: domain::OrderUid, valid_from: u32, )
crates/autopilot/src/infra/persistence/mod.rs:1062
↓ 1 callers
Method
set_quote_id
Re-labels the trade with another quote id, for a caller that reused a request sent under someone else's id.
crates/price-estimation/src/trade_finding/mod.rs:99
↓ 1 callers
Method
set_solver_allowed
(&self, solver: Address, allowed: bool)
crates/e2e/src/setup/onchain_components/mod.rs:256
↓ 1 callers
Function
settle
Attributes `gas_used` to the settled trades at a gas price of 10; `None` leaves the settlement unattributed.
crates/database/src/orders.rs:2474
↓ 1 callers
Function
settle
(router: axum::Router<State>)
crates/driver/src/infra/api/routes/settle/mod.rs:14
↓ 1 callers
Method
settle
Submit a previously proposed solution on chain. The work runs on a spawned task: a client disconnect must not cancel a settlement mid-flight, and a d
crates/solana-driver/src/domain/competition.rs:680
↓ 1 callers
Method
settle
Execute the solution generated as part of this competition. Use [`Competition::solve`] to generate the solution.
crates/driver/src/domain/competition/mod.rs:909
↓ 1 callers
Method
settle
Ask the driver to submit a previously proposed solution.
crates/autopilot-svm/src/infra/driver/mod.rs:141
↓ 1 callers
Method
settleSingle
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:7650
↓ 1 callers
Function
settle_fast_path
(router: axum::Router<State>)
crates/driver/src/infra/api/routes/settle_fast_path/mod.rs:17
↓ 1 callers
Method
settle_fast_path
( &self, request: &settle_fast_path::Request, timeout: std::time::Duration, )
crates/autopilot/src/infra/solvers/mod.rs:130
↓ 1 callers
Function
settle_fast_path_req
Create a request for the driver /settle_fast_path endpoint.
crates/driver/src/tests/setup/driver.rs:179
↓ 1 callers
Method
settle_queue_size
(&self)
crates/driver/src/infra/solver/mod.rs:366
↓ 1 callers
Function
settle_req
Create a request for the driver /settle endpoint.
crates/driver/src/tests/setup/driver.rs:166
↓ 1 callers
Function
settleable_orders
Drop orders on a sell or buy mint the program cannot move. Returns the kept orders and the uids of the dropped ones.
crates/autopilot-svm/src/infra/provider.rs:184
↓ 1 callers
Function
settled
Observe the result of the settlement process.
crates/driver/src/infra/observe/mod.rs:215
↓ 1 callers
Method
settlement_address
(&self)
crates/simulator/src/simulation_builder.rs:109
↓ 1 callers
Function
settlement_deployment_block_number_hash
( provider: &AlloyProvider, chain_id: u64, )
crates/autopilot/src/database/onchain_order_events/ethflow_events.rs:149
↓ 1 callers
Method
settlement_domain_separator
(&self)
crates/driver/src/infra/blockchain/contracts.rs:142
↓ 1 callers
Method
settlement_domain_separator
(&self)
crates/autopilot/src/infra/blockchain/contracts.rs:135
↓ 1 callers
Function
settlement_message
The last transaction's message, the v1 settlement whose config the merged transaction takes.
crates/solana-orderbook/examples/decode_bundle.rs:186
↓ 1 callers
Method
settlement_provably_unsent
Whether a failed `/settle` provably never sent the settlement transaction, so the orders can re-enter auctions immediately. Every listed kind rejects
crates/autopilot-svm/src/infra/driver/mod.rs:89
↓ 1 callers
Method
settlement_reverted
Whether a failed `/settle` reports that the settlement transaction landed and failed on chain. It cannot land again, so the orders can re-enter auctio
crates/autopilot-svm/src/infra/driver/mod.rs:108
↓ 1 callers
Method
settlement_simulator
(&self)
crates/price-estimation/src/factory.rs:109
↓ 1 callers
Function
settlement_span
Span shared by every log of one winner's settlement, so each carries both the driver name and the solver address.
crates/autopilot-svm/src/infra/executor.rs:49
↓ 1 callers
Function
settlement_started
(solver: &Solver, auction_id: auction::Id, solution_id: &solution::Id)
crates/driver/src/infra/notify/mod.rs:104
↓ 1 callers
Function
settles_only_after_valid_from
Asserts the order never settles while `now < valid_from`, then settles once `validFrom` has passed.
crates/e2e/tests/e2e/valid_from.rs:105
↓ 1 callers
Function
setup_delegation
( config: &Config, delegate: Address, eth: &Ethereum, )
crates/driver/src/infra/solver/eip7702.rs:371
↓ 1 callers
Function
setup_solver
( config: &Config, delegate: Address, approved_callers: &[Address; MAX_APPROVED_CALLERS], init
crates/driver/src/infra/solver/eip7702.rs:127
↓ 1 callers
Function
shadow_mode
(config: Configuration)
crates/autopilot/src/run.rs:718
↓ 1 callers
Function
share
A share of the surplus or improvement, just under 100% at most.
crates/fee-engine/src/partner_fee.rs:84
↓ 1 callers
Method
share_simulation
(&self, id: &str)
crates/simulator/src/tenderly/mod.rs:205
↓ 1 callers
Method
shared_query
Queries the `/quote` endpoint of the configured driver and deserializes the result into a Quote or Trade. Identical in-flight queries share one drive
crates/price-estimation/src/trade_finding/external.rs:88
↓ 1 callers
Function
shared_simulation_url
(id: &str)
crates/simulator/src/tenderly/mod.rs:212
↓ 1 callers
Function
shift_counterpart
Adds `offset` to the position of the counterpart a `BeginSettle` or a `FinalizeSettle` names, a u16 LE right after the discriminator. Other instructio
crates/solana-orderbook/examples/decode_bundle.rs:277
↓ 1 callers
Function
shortfall
Output-unit gap to `order`'s limit at the rate `in_amount` for `out_amount`, zero when [`satisfies`]: same cross-multiplication, so the two can't disa
crates/solana-solvers/src/dex/mod.rs:128
↓ 1 callers
Method
shortfall
Output-unit gap to `order`'s limit, zero when [`Swap::satisfies`].
crates/solana-solvers/src/dex/mod.rs:81
↓ 1 callers
Function
should_cache
(result: &Result<f64, PriceEstimationError>)
crates/price-estimation/src/native_price_cache.rs:146
↓ 1 callers
Method
should_shutdown
Non-blocking check if shutdown signal has been received yet
crates/autopilot/src/shutdown_controller.rs:52
↓ 1 callers
Method
should_use_fallback
Returns `true` if the fallback should be used.
crates/price-estimation/src/native/fallback.rs:101
↓ 1 callers
Method
sign
HMAC-SHA256 of the lowercase `0x`-prefixed address (42 chars).
crates/order-validation/src/banned/hermod.rs:99
↓ 1 callers
Method
sign
( &self, domain_separator: &DomainSeparator, hash: [u8; 32], signer: TestAccou
crates/e2e/src/api/zeroex.rs:132
↓ 1 callers
Method
sign_hash
(&self, hash: &alloy::primitives::B256)
crates/driver/src/infra/solver/mod.rs:144
↓ 1 callers
Method
sign_order
(&self, order: &mut OrderCreation, onchain: &OnchainComponents)
crates/e2e/src/setup/onchain_components/safe.rs:218
↓ 1 callers
Function
sign_request
Signs the `eth_sendBundle` request for `block` once for all builders. `MevApi::with_auth` would sign each request: with KMS that is one network call p
crates/driver/src/infra/builders.rs:358
↓ 1 callers
Method
signature
Base64 HMAC-SHA256, keyed by the secret, over the signed fields as JSON with sorted keys.
crates/solana-solvers/src/dex/bitget/mod.rs:96
↓ 1 callers
Method
signature_status
The outcome of a transaction at the client's commitment level, `None` until it lands. An error means the transaction landed and failed, so it cannot l
crates/cow-solana-rpc/src/lib.rs:442
↓ 1 callers
Method
signatures_address
Ensure that the Signatures contract is deployed to a specific address.
crates/driver/src/tests/setup/mod.rs:869
↓ 1 callers
Method
signatures_for_address
One page of an address's transaction signatures, starting below `before` when given. The node serves deep history, so repeated calls walk arbitrarily
crates/cow-solana-rpc/src/lib.rs:234
↓ 1 callers
Method
signatures_since
The program's (slot, signature) history above the watermark, newest first, paged from the node until a page dips to the watermark or the history runs
crates/solana-indexer/src/indexer/decoder/backfill.rs:133
↓ 1 callers
Function
signed_secs_between
Seconds from `from` to `to`, negative when `to` is the earlier instant.
crates/autopilot/src/run_loop.rs:1200
↓ 1 callers
Method
signing_scheme
(&self)
crates/shared/src/order_quoting.rs:90
↓ 1 callers
Function
simulate
Simulates `transactions`, each with its account keys, merged into one, and prints where it fails and its logs.
crates/solana-orderbook/examples/decode_bundle.rs:157
↓ 1 callers
Method
simulate
( &self, order: &Order, full_app_data: &str, full_balance_check: bool, )
crates/shared/src/order_creation_simulation.rs:80
↓ 1 callers
Method
simulate
Runs the generated simulation using an `eth_call` and returns the response bytes if there are any.
crates/simulator/src/simulation_builder.rs:475
↓ 1 callers
Method
simulate_custom_order
Simulates an arbitrary order without requiring it to exist in the database.
crates/orderbook/src/orderbook.rs:695
↓ 1 callers
Method
simulate_order
Simulates an order based on its Uid using the OrderSimulator. The returned value contains the simulation result and tenderly API request object that
crates/orderbook/src/orderbook.rs:633
↓ 1 callers
Method
simulate_settlement
Simulate a settlement transaction before sending it.
crates/solana-driver/src/domain/competition.rs:949
↓ 1 callers
Method
simulate_settlement
Returns whether the settlement can be executed or would revert.
crates/driver/src/domain/competition/mod.rs:1039
← previous
next →
3,601–3,700 of 10,736, ranked by callers