MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions8,749 in github.com/cowprotocol/services

↓ 6 callersFunctionu256_to_big_uint
(input: &U256)
crates/number/src/conversions.rs:66
↓ 6 callersMethoduid
(&self, domain: &DomainSeparator, owner: Address)
crates/model/src/order.rs:263
↓ 6 callersFunctionupdate_settlement_auction
( ex: &mut PgConnection, block_number: i64, log_index: i64, auction_id: i64, )
crates/database/src/settlements.rs:50
↓ 6 callersFunctionv3_api
Builds a URL against the pool-indexer's Uniswap V3 API (all test fixtures index `mainnet`), so call sites don't repeat the route prefix by hand.
crates/e2e/tests/e2e/pool_indexer.rs:135
↓ 6 callersFunctionwait_for_indexer
Polls `/pools` until the indexer has reached `head` and surfaced at least `min_pools` pools. `min_pools = 0` means "any state is fine, just check bloc
crates/e2e/tests/e2e/pool_indexer.rs:265
↓ 6 callersMethodwinners
All solutions that won the right to get executed.
crates/autopilot/src/domain/competition/winner_selection.rs:257
↓ 6 callersMethodwith_default_ethflow_order_data
(&mut self)
crates/refunder/src/traits.rs:130
↓ 6 callersMethodwith_order_status
(&mut self, status: RefundStatus)
crates/refunder/src/traits.rs:111
↓ 6 callersMethodwith_orders
(mut self, orders: impl IntoIterator<Item = Order>)
crates/simulator/src/simulation_builder.rs:169
↓ 5 callersMethodaddSolver
( data: &[u8], )
contracts/generated/contracts-generated/gpv2allowlistauthentication/src/lib.rs:1522
↓ 5 callersMethodaddress
Returns the [`eth::TokenAddress`] of the ERC20.
crates/driver/src/infra/blockchain/token.rs:22
↓ 5 callersMethodappend_to_execution_plan_internalizable
( &mut self, interaction: Arc<dyn Interaction>, internalizable: bool, )
crates/solver/src/settlement/settlement_encoder.rs:354
↓ 5 callersFunctionapply_haircut
The driver applies a haircut to the solver's solution after it is returned (see `Solutions::into_domain`). This reduces the user's effective buy amoun
crates/driver/src/infra/solver/dto/auction.rs:418
↓ 5 callersMethodas_pool_ref
(&self)
crates/liquidity-sources/src/balancer_v2/swap/mod.rs:367
↓ 5 callersMethodas_str
(self)
crates/solana-solvers/src/dex/jupiter/mod.rs:25
↓ 5 callersMethodas_u8
(&self)
crates/autopilot/src/domain/settlement/transaction/tokenized.rs:56
↓ 5 callersMethodat_block
(mut self, block: Block)
crates/simulator/src/simulation_builder.rs:213
↓ 5 callersFunctionbig_int_to_u256
(input: &BigInt)
crates/number/src/conversions.rs:48
↓ 5 callersFunctionbig_rational_to_u256
(ratio: &BigRational)
crates/number/src/conversions.rs:61
↓ 5 callersFunctionbuild_1271_validator
( signature_validator: MockSignatureValidating, order_simulator: Option<OrderSimulator>,
crates/shared/src/order_validation.rs:3196
↓ 5 callersFunctionbuild_account_keys
The transaction's full account list that instruction indices resolve against: static keys, then ALT-loaded writable addresses, then readonly, in that
crates/solana-indexer/src/indexer/decoder.rs:673
↓ 5 callersFunctionbuild_event
((block_number, log_index): (u64, usize))
crates/liquidity-sources/src/uniswap_v3/event_fetching.rs:140
↓ 5 callersMethodbuy_amount
The effective amount the user received after all fees. Settlement contract uses `ceil` division for buy amount calculation.
crates/driver/src/domain/competition/solution/trade.rs:82
↓ 5 callersFunctionbytes_to_order_uid
(bytes: &[u8])
crates/autopilot/src/database/events.rs:122
↓ 5 callersFunctioncalculate_invariant
https://github.com/balancer-labs/balancer-v2-monorepo/blob/9eb7e44a4e9ebbadfe3c6242a086118298cadc9f/pkg/pool-stable-phantom/contracts/StableMath.sol#L
crates/liquidity-sources/src/balancer_v2/swap/stable_math.rs:15
↓ 5 callersMethodcalculate_quote_stream
( &self, parameters: QuoteParameters, )
crates/shared/src/order_quoting.rs:724
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1641
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1447
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1471
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1455
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1447
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1447
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/permit2/src/lib.rs:613
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:883
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1447
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1447
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:260
↓ 5 callersMethodcall_builder
Creates a new call builder using this contract instance's provider and address. Note that the call can be any function call, not just those defined i
contracts/generated/contracts-generated/gnosissafecompatibilityfallbackhandler/src/lib.rs:1345
↓ 5 callersMethodcommon
(&self)
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:32
↓ 5 callersFunctioncompetition_results
Runs all provided estimators and returns all ranked quotes best-first, or the highest-priority error if every estimator failed.
crates/price-estimation/src/competition/quote.rs:398
↓ 5 callersFunctioncreate_limit_order
(maker_amount: U256, taker_amount: U256, fee_amount: U256)
crates/solvers/src/boundary/liquidity/limit_order.rs:58
↓ 5 callersMethodcreated
(self, created: u32)
crates/driver/src/tests/setup/mod.rs:273
↓ 5 callersMethoddata
(&self)
crates/e2e/src/setup/solver/solution.rs:25
↓ 5 callersFunctiondeploy_builder
( __provider: P, )
contracts/generated/contracts-generated/weth9/src/lib.rs:2794
↓ 5 callersMethodestimate_native_price
( &self, token: Address, timeout: Duration, )
crates/price-estimation/src/buffered.rs:87
↓ 5 callersMethodestimates
( &self, mut query: Arc<Query>, )
crates/price-estimation/src/competition/quote.rs:35
↓ 5 callersFunctionexp10
(n: u8)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:30
↓ 5 callersMethodfee
(&self)
crates/shared/src/fee.rs:37
↓ 5 callersMethodfee_handler
(mut self, fee_handler: FeeHandler)
crates/driver/src/tests/setup/mod.rs:429
↓ 5 callersMethodfetch_native_prices
( &'_ self, tokens: HashSet<Token>, timeout: Duration, )
crates/price-estimation/src/native/coingecko.rs:227
↓ 5 callersMethodget
()
crates/solver/src/liquidity_collector.rs:139
↓ 5 callersMethodget
()
crates/request-sharing/src/lib.rs:177
↓ 5 callersMethodget
()
crates/orderbook/src/orderbook.rs:72
↓ 5 callersMethodget_auction
Fetches the current auction. Don't use this as a synchronization mechanism in tests because that is prone to race conditions which would make tests fl
crates/e2e/src/setup/services.rs:448
↓ 5 callersFunctionget_block_at_id
(provider: &AlloyProvider, id: BlockId)
crates/ethrpc/src/block_stream.rs:275
↓ 5 callersMethodget_native_price
( &self, token: &Address, )
crates/e2e/src/setup/services.rs:587
↓ 5 callersMethodget_token
Returns the address of the token with the given symbol.
crates/driver/src/tests/setup/blockchain.rs:856
↓ 5 callersFunctionget_useful_orders
Get the `orders_per_type` best priced and biggest volume orders.
crates/solver/src/liquidity/zeroex.rs:152
↓ 5 callersFunctiongroup_by_token_pair
( orders: impl Iterator<Item = OrderRecord>, )
crates/solver/src/liquidity/zeroex.rs:136
↓ 5 callersFunctionhandle_for
Handle over a snapshot built by folding `frames` in order, as if every frame were quoting for `QUOTED_BLOCK`. Frames whose words carry no `QUOTED_AT`
crates/simulator/src/state_override_stream.rs:703
↓ 5 callersMethodid
[`None`] if this auction applies to a quote. See [`crate::domain::quote`].
crates/driver/src/domain/competition/auction.rs:83
↓ 5 callersFunctioninsert_onchain_invalidation
( ex: &mut PgConnection, index: &EventIndex, order_uid: &OrderUid, )
crates/database/src/onchain_invalidations.rs:56
↓ 5 callersFunctioninsert_or_overwrite_orders
( ex: &mut PgTransaction<'_>, events: &[EthOrderPlacement], )
crates/database/src/ethflow_orders.rs:15
↓ 5 callersFunctioninsert_refund_tx_hash
( ex: &mut PgTransaction<'_>, refund: &Refund, )
crates/database/src/ethflow_orders.rs:110
↓ 5 callersFunctioninsert_settlement
( ex: &mut PgConnection, index: &EventIndex, event: &Settlement, )
crates/database/src/events.rs:134
↓ 5 callersMethodinteractions
(&self)
crates/price-estimation/src/trade_finding/mod.rs:112
↓ 5 callersMethodis_node_error
(&self)
crates/ethrpc/src/alloy/errors.rs:32
↓ 5 callersMethodlimit_prices_json
The fast-path limit prices for the single quoted order.
crates/driver/src/tests/setup/mod.rs:1220
↓ 5 callersFunctionmake_1271_order_creation
()
crates/shared/src/order_validation.rs:3172
↓ 5 callersMethodmatom
Converts this value from Mwei to wei (multiplies by 1e6).
crates/number/src/units.rs:8
↓ 5 callersMethodmetadata
(&self)
crates/liquidity-sources/src/zeroex.rs:213
↓ 5 callersMethodmul_down
(self, other: Self)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:149
↓ 5 callersMethodmul_up
(self, other: Self)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:155
↓ 5 callersMethodname
(&self)
crates/order-validation/src/banned/hermod.rs:98
↓ 5 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/izeroex/src/lib.rs:606
↓ 5 callersFunctionnext_block
Awaits and returns the next block that will be pushed into the stream.
crates/ethrpc/src/block_stream.rs:365
↓ 5 callersMethodorder
Get a reference to the traded order.
crates/solvers/src/domain/solution.rs:369
↓ 5 callersMethodorder_json
The /solve-shaped JSON for the single quoted order.
crates/driver/src/tests/setup/mod.rs:1200
↓ 5 callersFunctionpool
()
crates/solana-indexer/src/test_db.rs:5
↓ 5 callersMethodpre_interactions
(&self)
crates/price-estimation/src/trade_finding/mod.rs:119
↓ 5 callersMethodprices_json
Native prices for the single quoted order's tokens.
crates/driver/src/tests/setup/mod.rs:1210
↓ 5 callersMethodprocessing_stage_timer
(&self, stage: &str)
crates/driver/src/infra/observe/metrics.rs:73
↓ 5 callersMethodprovide_sufficient_buy_tokens
Instructs the builder to override the settlement contract's buy-token balances so it can pay out every order. The exact amounts are derived from the c
crates/simulator/src/simulation_builder.rs:290
↓ 5 callersMethodprovider
(&self)
crates/liquidity-sources/src/balancer_v2/pool_fetching/mod.rs:208
↓ 5 callersMethodprovider
(&self)
crates/simulator/src/simulation_builder.rs:91
↓ 5 callersFunctionquote_metadata
Returns quote.
crates/e2e/tests/e2e/database.rs:24
↓ 5 callersFunctionread_order
( ex: &mut PgConnection, id: &OrderUid, )
crates/database/src/orders.rs:224
↓ 5 callersFunctionread_quote
( ex: &mut PgConnection, id: &OrderUid, )
crates/database/src/orders.rs:442
↓ 5 callersMethodreduce
Returns a new deadline with the specified duration subtracted.
crates/solvers/src/domain/auction.rs:101
↓ 5 callersFunctionreport_with_revert
(events: Vec<Event>)
crates/shared/src/order_creation_simulation.rs:325
↓ 5 callersFunctionrun
(test_case: TestCase)
crates/driver/src/tests/cases/haircut_pre_processing.rs:61
↓ 5 callersMethodsell_amount
(self, sell_amount: eth::U256)
crates/driver/src/tests/setup/mod.rs:94
↓ 5 callersMethodsettle_with_order
Call /settle with the fast-path bundle: the real `order`, its `limit_prices`, and native `prices`.
crates/driver/src/tests/setup/mod.rs:1230
↓ 5 callersMethodsettlement_address
Ensure that the settlement contract is deployed to a specific address.
crates/driver/src/tests/setup/mod.rs:870
↓ 5 callersFunctionshare_common_pool_state
An internal utility method for sharing the success value for an `anyhow::Result`. Typically, this is pretty trivial using `FutureExt::shared`. Howeve
crates/liquidity-sources/src/balancer_v2/pools/common.rs:326
↓ 5 callersMethodsolutions
(&self)
crates/driver/src/tests/setup/mod.rs:1366
↓ 5 callersMethodsolver
(&self)
crates/driver/src/infra/api/mod.rs:195
↓ 5 callersMethodsolver
(self, solver: eth::Address)
crates/driver/src/tests/setup/mod.rs:1769
↓ 5 callersMethodsolver
(&self)
crates/price-estimation/src/trade_finding/mod.rs:72
↓ 5 callersMethodspawn
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
← previousnext →401–500 of 8,749, ranked by callers