MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions8,486 in github.com/cowprotocol/services

↓ 25 callersFunctiontest_solver
()
crates/driver/src/tests/setup/mod.rs:378
↓ 24 callersMethodchecked_sub
(&self, v: &Self)
crates/eth-domain-types/src/ether.rs:47
↓ 24 callersMethodsolvers
(mut self, solvers: Vec<Solver>)
crates/driver/src/tests/setup/mod.rs:864
↓ 24 callersMethodstart_api
Start the api service in a background tasks. Wait until the service is responsive.
crates/e2e/src/setup/services.rs:219
↓ 23 callersMethodinto_response
(self)
crates/orderbook/src/api/post_order.rs:47
↓ 23 callersMethodobserve
(data: &[u8])
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5120
↓ 23 callersMethodorder
(&self)
crates/driver/src/domain/competition/solution/trade.rs:176
↓ 23 callersMethodroute
( &self, request: solver::Request, max_hops: usize, )
crates/solvers/src/boundary/baseline.rs:44
↓ 22 callersMethodbuild
(self)
crates/model/src/order.rs:189
↓ 22 callersMethodinto_iter
(self)
crates/ethrpc/src/alloy/buffering.rs:128
↓ 22 callersMethodlen
(&self)
crates/price-estimation/src/native_price_cache.rs:217
↓ 21 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/iswaprpair/src/lib.rs:5511
↓ 21 callersMethodsaturating_add
(self, v: Self)
crates/eth-domain-types/src/lib.rs:112
↓ 20 callersFunctionbuilder
Assemble the configured builder without dialing.
crates/solana-indexer/src/yellowstone.rs:59
↓ 20 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/iuniswaplikepair/src/lib.rs:5337
↓ 20 callersFunctiondeployment_address
(chain_id: &u64)
contracts/generated/contracts-generated/weth9/src/lib.rs:3090
↓ 20 callersMethodget_trades
(&self, order: &OrderUid)
crates/e2e/src/setup/services.rs:526
↓ 20 callersMethodname
(self, name: &str)
crates/driver/src/tests/setup/mod.rs:408
↓ 20 callersMethodpop
Pop the next call in round-robin order, if any.
crates/ethrpc/src/alloy/buffering.rs:269
↓ 20 callersFunctionstart_driver
( contracts: &Contracts, solvers: Vec<SolverEngine>, liquidity: LiquidityProvider, quote_using
crates/e2e/src/setup/colocation.rs:135
↓ 20 callersMethodto_be_bytes
(self)
crates/driver/src/domain/competition/auction.rs:266
↓ 19 callersMethodget
Returns cached pools for the pairs, plus the ids of any that exist but aren't cached yet. Misses are recorded for the next maintenance run.
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:251
↓ 19 callersFunctioninternal_error_reply
()
crates/orderbook/src/api.rs:451
↓ 19 callersMethodkind
Set the order kind.
crates/driver/src/tests/setup/mod.rs:195
↓ 18 callersMethodas_str
(&self)
crates/pool-indexer/src/config.rs:56
↓ 18 callersMethodbuild
Finishes the simulation struct based on the configuration thus far.
crates/simulator/src/simulation_builder.rs:318
↓ 18 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/balancerv2composablestablepool/src/lib.rs:635
↓ 18 callersMethodchain
(&self)
crates/simulator/src/ethereum/mod.rs:66
↓ 18 callersMethoddb
Returns the underlying postgres connection pool that can be used do execute raw SQL queries.
crates/e2e/src/setup/services.rs:886
↓ 18 callersMethodget
()
crates/price-estimation/src/native/eip4626.rs:268
↓ 18 callersMethodquote
(self, quote: OrderQuote)
crates/driver/src/tests/setup/mod.rs:281
↓ 18 callersMethodwith_buy_token
(mut self, buy_token: Address)
crates/model/src/order.rs:96
↓ 18 callersMethodwith_sell_token
(mut self, sell_token: Address)
crates/model/src/order.rs:91
↓ 17 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/balancerv2liquiditybootstrappingpool/src/lib.rs:4981
↓ 17 callersMethodclone
(&self)
crates/price-estimation/src/trade_finding/mod.rs:318
↓ 17 callersMethodorders
Check that the solution contains the expected orders.
crates/driver/src/tests/setup/mod.rs:1452
↓ 17 callersMethodsettle
Call the /settle endpoint.
crates/driver/src/tests/setup/mod.rs:1191
↓ 17 callersMethodvalidate_and_construct_order
( &self, order: OrderCreation, domain_separator: &DomainSeparator, settlement_
crates/shared/src/order_validation.rs:780
↓ 16 callersMethodabi_encode
(&self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:84
↓ 16 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/uniswapv3pool/src/lib.rs:5764
↓ 16 callersMethodcreatePair
(data: &[u8])
contracts/generated/contracts-generated/uniswapv2factory/src/lib.rs:734
↓ 16 callersMethodtry_into
(self)
crates/shared/src/order_quoting.rs:994
↓ 15 callersMethodaddLiquidity
(data: &[u8])
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1222
↓ 15 callersFunctionbig_decimal_to_u256
(big_decimal: &BigDecimal)
crates/number/src/conversions.rs:53
↓ 15 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/balancerv2weightedpool/src/lib.rs:4203
↓ 15 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/balancerv2stablepool/src/lib.rs:4553
↓ 15 callersMethodcontracts
Onchain smart contract bindings.
crates/driver/src/infra/blockchain/mod.rs:180
↓ 15 callersFunctionerror
(error_type: &'static str, description: impl AsRef<str>)
crates/orderbook/src/api.rs:423
↓ 15 callersFunctionget
Get the metrics instance.
crates/solvers/src/infra/metrics.rs:57
↓ 15 callersMethodid
Extracts the solution id from the response. Since response can contain multiple solutions, it takes the id from the first solution.
crates/driver/src/tests/setup/mod.rs:1376
↓ 15 callersMethodinsert
(&self, token: Address, result: CacheEntry)
crates/price-estimation/src/native_price_cache.rs:254
↓ 15 callersMethodstart_autopilot
Start the autopilot service in a background task. Optionally specify a solve deadline to use instead of the default 2s. (note: specifying a larger sol
crates/e2e/src/setup/services.rs:204
↓ 14 callersMethodas_uint256
(self)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:106
↓ 14 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/balancerv2basepool/src/lib.rs:3779
↓ 14 callersFunctioncreate_test_order_placement
Builds an `EthOrderPlacement` with the given contract address embedded in the UID. # UID Structure (56 bytes total) The CoW Protocol Order UID has t
crates/refunder/src/refund_service.rs:358
↓ 14 callersMethodinsert
( &mut self, block: u64, keys: impl IntoIterator<Item = K>, values: impl IntoI
crates/liquidity-sources/src/recent_block_cache.rs:413
↓ 14 callersMethodon_auction_overhead_start
( &'a self, component: &'b str, phase: &'c str, )
crates/observe/src/metrics.rs:189
↓ 14 callersFunctionsave
(ex: &mut PgConnection, quote: &Quote)
crates/database/src/quotes.rs:46
↓ 14 callersFunctionserve
( addr: SocketAddr, estimator: Arc<dyn NativePriceEstimating>, max_timeout: Duration, shutdown
crates/autopilot/src/infra/api.rs:43
↓ 14 callersFunctionu256_to_big_decimal
(u256: &U256)
crates/number/src/conversions.rs:78
↓ 14 callersFunctionweb3
Create a Web3 instance with an optional label for observability.
crates/ethrpc/src/lib.rs:66
↓ 14 callersMethodwith_state
(self, state: NewState)
crates/winner-selection/src/solution.rs:57
↓ 13 callersMethodaddress
Extracts the pool address configured in the ID.
crates/driver/src/domain/liquidity/balancer/v2/mod.rs:20
↓ 13 callersMethodbody
Get the JSON response body.
crates/driver/src/tests/setup/mod.rs:1615
↓ 13 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/cowprotocoltoken/src/lib.rs:3970
↓ 13 callersMethodclient
(&self)
crates/e2e/src/setup/services.rs:880
↓ 13 callersMethodcurrent_block
Returns a type that monitors the block chain to inform about the current block.
crates/driver/src/infra/blockchain/mod.rs:192
↓ 13 callersMethoderr
(self)
crates/driver/src/tests/setup/mod.rs:1359
↓ 13 callersMethodevm_set_automine
(&self, automine: bool)
crates/ethrpc/src/alloy/evm_ext.rs:41
↓ 13 callersMethodhash_struct
Returns the value of hashStruct() over the order data as defined by EIP-712. https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct
crates/model/src/order.rs:236
↓ 13 callersMethodid
(&self)
crates/driver/src/infra/api/routes/solve/dto/solve_request.rs:127
↓ 13 callersMethodsettlement
(&self)
crates/driver/src/infra/blockchain/contracts.rs:106
↓ 13 callersFunctionsetup
Set up a mock external HTTP API.
crates/solvers/src/tests/mock/http.rs:127
↓ 13 callersMethodswap
Computes a swap (including calldata, estimated input and output amounts and the required allowance) for the specified order. These computed swaps can
crates/solvers/src/infra/dex/mod.rs:24
↓ 13 callersMethodwith_ethflow_addresses
(&mut self, addresses: Vec<Address>)
crates/refunder/src/traits.rs:105
↓ 12 callersFunctionappend
( ex: &mut PgTransaction<'_>, events: &[(EventIndex, Event)], )
crates/database/src/events.rs:73
↓ 12 callersFunctioncollect_log_changes
( factory: Address, logs: &[Log], base_states: &BasePoolStates, dec_cache: &DecimalsCache,
crates/pool-indexer/src/indexer/uniswap_v3.rs:1003
↓ 12 callersFunctionencode
(registry: &prometheus::Registry)
crates/observe/src/metrics.rs:77
↓ 12 callersMethodestimate_native_price
( &self, token: Address, timeout: Duration, )
crates/price-estimation/src/native_price_cache.rs:417
↓ 12 callersMethodfinish
( mut self, internalization_strategy: InternalizationStrategy, )
crates/solver/src/settlement/settlement_encoder.rs:460
↓ 12 callersMethodget
()
crates/pool-indexer/src/metrics.rs:54
↓ 12 callersMethodinto_response
(self)
crates/orderbook/src/api.rs:464
↓ 12 callersFunctioninto_stream
(receiver: CurrentBlockWatcher)
crates/ethrpc/src/block_stream.rs:271
↓ 12 callersFunctionrun_forked_test_with_block_number
(f: F, fork_url: String, block_number: u64)
crates/e2e/src/setup/mod.rs:145
↓ 12 callersMethodsend
( self, client: &reqwest::Client, base
crates/driver/src/infra/notify/liquidity_sources/liquorice/client/request.rs:88
↓ 12 callersMethodstate
(&self)
crates/winner-selection/src/solution.rs:66
↓ 12 callersMethodstore
(&self)
crates/event-indexing/src/event_handler.rs:253
↓ 11 callersMethodappend
(&mut self, label: &str)
crates/ethrpc/src/alloy/instrumentation.rs:191
↓ 11 callersMethodblock
(&self, number: u64)
crates/event-indexing/src/block_retriever.rs:40
↓ 11 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/mockerc4626wrapper/src/lib.rs:2660
↓ 11 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/balancerv2vault/src/lib.rs:1642
↓ 11 callersMethodchain
Returns the chain for the RPC connection.
crates/driver/src/infra/blockchain/mod.rs:66
↓ 11 callersMethodchecked_ceil_div
(&self, other: &Self)
crates/number/src/u256_ext.rs:71
↓ 11 callersMethodget
(&self, address: &eth::TokenAddress)
crates/driver/src/domain/competition/auction.rs:141
↓ 11 callersMethodget
()
crates/autopilot/src/infra/persistence/mod.rs:1010
↓ 11 callersMethodget_solver_competition
( &self, hash: B256, )
crates/e2e/src/setup/services.rs:464
↓ 11 callersFunctionidentify_uids_refunding_status
Filters `refundable_order_uids` by on-chain status, returning only orders that need refund, grouped by EthFlow contract. Excludes orders from unknown
crates/refunder/src/refund_service.rs:89
↓ 11 callersFunctioninitialize
Initializes tracing setup that is shared between the binaries. `env_filter` has similar syntax to env_logger. It is documented at https://docs.rs/trac
crates/observe/src/tracing/init.rs:34
↓ 11 callersFunctioninstall
Install a panic hook that first calls the previous panic hook and then exits the process. This prevents the situation where a background task/thread
crates/observe/src/panic_hook.rs:11
↓ 11 callersMethodis_winner
(self)
crates/winner-selection/src/state.rs:39
← previousnext →101–200 of 8,486, ranked by callers