MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,747 in github.com/cowprotocol/services

↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/anyoneauthenticator/src/lib.rs:456
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:766
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/multicall3/src/lib.rs:4541
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafeproxyfactory/src/lib.rs:701
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1408
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:4513
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2basepoolfactory/src/lib.rs:305
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactory/src/lib.rs:1369
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:1604
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/swapper/src/lib.rs:1461
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2weightedpool2tokensfactory/src/lib.rs:864
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2weightedpoolfactory/src/lib.rs:843
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafeproxy/src/lib.rs:255
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/spardose/src/lib.rs:476
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balances/src/lib.rs:1109
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv4/src/lib.rs:1329
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/uniswapv2factory/src/lib.rs:1032
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:467
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:5297
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv6/src/lib.rs:1369
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/nonstandarderc20balances/src/lib.rs:1525
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1787
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/solver7702delegate/src/lib.rs:482
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3929
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/balancerv2authorizer/src/lib.rs:1357
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:222
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/gnosissafecompatibilityfallbackhandler/src/lib.rs:1306
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/erc1271signaturevalidator/src/lib.rs:424
↓ 1 callersMethodset_address
(&mut self, address: alloy_sol_types::private::Address)
contracts/generated/contracts-generated/icowwrapper/src/lib.rs:578
↓ 1 callersMethodset_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 callersMethodset_auto_mining
(&self, enabled: bool)
crates/driver/src/tests/setup/mod.rs:1324
↓ 1 callersMethodset_order_valid_from
( &self, uid: domain::OrderUid, valid_from: u32, )
crates/autopilot/src/infra/persistence/mod.rs:1048
↓ 1 callersMethodset_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 callersMethodset_solver_allowed
(&self, solver: Address, allowed: bool)
crates/e2e/src/setup/onchain_components/mod.rs:256
↓ 1 callersFunctionsettle
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 callersFunctionsettle
(router: axum::Router<State>)
crates/driver/src/infra/api/routes/settle/mod.rs:14
↓ 1 callersMethodsettle
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:661
↓ 1 callersMethodsettle
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 callersMethodsettle
Ask the driver to submit a previously proposed solution.
crates/autopilot-svm/src/infra/driver/mod.rs:141
↓ 1 callersMethodsettleSingle
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:7665
↓ 1 callersFunctionsettle_fast_path
(router: axum::Router<State>)
crates/driver/src/infra/api/routes/settle_fast_path/mod.rs:17
↓ 1 callersMethodsettle_fast_path
( &self, request: &settle_fast_path::Request, timeout: std::time::Duration, )
crates/autopilot/src/infra/solvers/mod.rs:130
↓ 1 callersFunctionsettle_fast_path_req
Create a request for the driver /settle_fast_path endpoint.
crates/driver/src/tests/setup/driver.rs:179
↓ 1 callersMethodsettle_queue_size
(&self)
crates/driver/src/infra/solver/mod.rs:366
↓ 1 callersFunctionsettle_req
Create a request for the driver /settle endpoint.
crates/driver/src/tests/setup/driver.rs:166
↓ 1 callersFunctionsettleable_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 callersFunctionsettled
Observe the result of the settlement process.
crates/driver/src/infra/observe/mod.rs:215
↓ 1 callersMethodsettlement_address
(&self)
crates/simulator/src/simulation_builder.rs:109
↓ 1 callersFunctionsettlement_deployment_block_number_hash
( provider: &AlloyProvider, chain_id: u64, )
crates/autopilot/src/database/onchain_order_events/ethflow_events.rs:149
↓ 1 callersMethodsettlement_domain_separator
(&self)
crates/driver/src/infra/blockchain/contracts.rs:142
↓ 1 callersMethodsettlement_domain_separator
(&self)
crates/autopilot/src/infra/blockchain/contracts.rs:142
↓ 1 callersMethodsettlement_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 callersMethodsettlement_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 callersMethodsettlement_simulator
(&self)
crates/price-estimation/src/factory.rs:109
↓ 1 callersFunctionsettlement_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 callersFunctionsettlement_started
(solver: &Solver, auction_id: auction::Id, solution_id: &solution::Id)
crates/driver/src/infra/notify/mod.rs:104
↓ 1 callersFunctionsettles_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 callersFunctionsetup
(fail: bool)
crates/order-validation/src/banned/cached.rs:271
↓ 1 callersFunctionsetup_delegation
( config: &Config, delegate: Address, eth: &Ethereum, )
crates/driver/src/infra/solver/eip7702.rs:371
↓ 1 callersFunctionsetup_solver
( config: &Config, delegate: Address, approved_callers: &[Address; MAX_APPROVED_CALLERS], init
crates/driver/src/infra/solver/eip7702.rs:127
↓ 1 callersFunctionshadow_mode
(config: Configuration)
crates/autopilot/src/run.rs:731
↓ 1 callersFunctionshare
A share of the surplus or improvement, just under 100% at most.
crates/fee-engine/src/partner_fee.rs:87
↓ 1 callersMethodshare_simulation
(&self, id: &str)
crates/simulator/src/tenderly/mod.rs:205
↓ 1 callersMethodshared_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 callersFunctionshared_simulation_url
(id: &str)
crates/simulator/src/tenderly/mod.rs:212
↓ 1 callersFunctionshortfall
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 callersMethodshortfall
Output-unit gap to `order`'s limit, zero when [`Swap::satisfies`].
crates/solana-solvers/src/dex/mod.rs:81
↓ 1 callersFunctionshould_cache
(result: &Result<f64, PriceEstimationError>)
crates/price-estimation/src/native_price_cache.rs:146
↓ 1 callersMethodshould_shutdown
Non-blocking check if shutdown signal has been received yet
crates/autopilot/src/shutdown_controller.rs:52
↓ 1 callersMethodshould_use_fallback
Returns `true` if the fallback should be used.
crates/price-estimation/src/native/fallback.rs:101
↓ 1 callersMethodsign
HMAC-SHA256 of the address textual payload, encoded as lowercase hex.
crates/order-validation/src/banned/hermod.rs:63
↓ 1 callersMethodsign
( &self, domain_separator: &DomainSeparator, hash: [u8; 32], signer: TestAccou
crates/e2e/src/api/zeroex.rs:132
↓ 1 callersMethodsign_hash
(&self, hash: &alloy::primitives::B256)
crates/driver/src/infra/solver/mod.rs:144
↓ 1 callersMethodsign_order
(&self, order: &mut OrderCreation, onchain: &OnchainComponents)
crates/e2e/src/setup/onchain_components/safe.rs:218
↓ 1 callersFunctionsign_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 callersMethodsignature
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 callersMethodsignature_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:422
↓ 1 callersMethodsignatures_address
Ensure that the Signatures contract is deployed to a specific address.
crates/driver/src/tests/setup/mod.rs:869
↓ 1 callersMethodsignatures_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 callersMethodsignatures_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 callersFunctionsigned_secs_between
Seconds from `from` to `to`, negative when `to` is the earlier instant.
crates/autopilot/src/run_loop.rs:1116
↓ 1 callersMethodsigning_scheme
(&self)
crates/shared/src/order_quoting.rs:90
↓ 1 callersMethodsimulate
( &self, order: &Order, full_app_data: &str, full_balance_check: bool, )
crates/shared/src/order_creation_simulation.rs:80
↓ 1 callersMethodsimulate
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 callersMethodsimulate_custom_order
Simulates an arbitrary order without requiring it to exist in the database.
crates/orderbook/src/orderbook.rs:695
↓ 1 callersMethodsimulate_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 callersMethodsimulate_settlement
Simulate a settlement transaction before sending it.
crates/solana-driver/src/domain/competition.rs:930
↓ 1 callersMethodsimulate_settlement
Returns whether the settlement can be executed or would revert.
crates/driver/src/domain/competition/mod.rs:1039
↓ 1 callersMethodsimulate_token_transfer
( &self, order: &OrderCreation, owner: Address, app_data: &OrderAppData,
crates/shared/src/order_validation.rs:612
↓ 1 callersMethodsimulate_transaction
Simulate a signed transaction without sending it.
crates/solana-driver/src/infra/blockchain/mod.rs:172
↓ 1 callersMethodsimulate_with_timeout
( &self, order: &Order, full_app_data: &str, full_balance_check: bool, )
crates/shared/src/order_validation.rs:86
↓ 1 callersMethodsimulate_without_setup
Simulate isValidSignature for the cases in which the order does not require a "setup" in the form of pre-interactions or a flashloan.
crates/signature-validator/src/simulation.rs:56
↓ 1 callersMethodsimulation_gas_price
(&self)
crates/driver/src/infra/blockchain/mod.rs:345
↓ 1 callersMethodsimulation_report
Runs the simulation together with a call tracer. Afterwards the call trace gets analyzed to generate a high level report of the simulation with inform
crates/simulator/src/simulation_builder.rs:490
↓ 1 callersFunctionsimulator
( config: &infra::Config, eth: simulator::Ethereum, http_factory: &HttpClientFactory, )
crates/driver/src/run.rs:148
↓ 1 callersMethodsingle_order_auction
The single-order auction a quote is solved in. Token prices are unset (`None`): a quote carries no native prices.
crates/driver/src/domain/quote.rs:233
↓ 1 callersMethodsingle_run
(&self, auction: &domain::Auction)
crates/autopilot/src/shadow.rs:126
↓ 1 callersMethodsingle_run
(self: &Arc<Self>, auction: &Arc<domain::Auction>, start_block: BlockInfo)
crates/autopilot/src/run_loop.rs:398
↓ 1 callersMethodsingle_run
Runs one competition for the auction.
crates/autopilot-svm/src/run_loop.rs:285
↓ 1 callersMethodsingle_update
(&self, prefetch_time: Duration)
crates/price-estimation/src/native_price_cache.rs:516
← previousnext →3,601–3,700 of 10,747, ranked by callers