MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions9,022 in github.com/cowprotocol/services

↓ 26 callersMethodchecked_sub
(&self, v: &Self)
crates/eth-domain-types/src/ether.rs:47
↓ 25 callersMethodcalldata
(self)
crates/driver/src/tests/setup/mod.rs:1544
↓ 25 callersMethodfind
Finds full app data for an order that only has the contract app data hash. The full app data can be located in the database or on IPFS.
crates/orderbook/src/app_data.rs:80
↓ 25 callersFunctiontest_solver
()
crates/driver/src/tests/setup/mod.rs:378
↓ 24 callersMethodinto_iter
(self)
crates/ethrpc/src/alloy/buffering.rs:130
↓ 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
↓ 24 callersMethodto_be_bytes
(self)
crates/driver/src/domain/competition/auction.rs:267
↓ 23 callersMethodinto_response
(self)
crates/orderbook/src/api/post_order.rs:47
↓ 23 callersMethodorder
(&self)
crates/driver/src/domain/competition/solution/trade.rs:168
↓ 23 callersMethodsaturating_add
(self, v: Self)
crates/eth-domain-types/src/lib.rs:112
↓ 22 callersMethodbuild
(self)
crates/model/src/order.rs:189
↓ 21 callersFunctionbuilder
Assemble the configured builder without dialing.
crates/solana-indexer/src/yellowstone.rs:60
↓ 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 callersFunctionpubkey
(byte: u8)
crates/solana-driver/src/domain/settlement.rs:564
↓ 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 callersMethodexecute
(&self, auction_id: i64, ranking: &Ranking, tip: &u64, deadline: u64)
crates/autopilot-svm/src/infra/executor.rs:33
↓ 20 callersMethodget_trades
(&self, order: &OrderUid)
crates/e2e/src/setup/services.rs:527
↓ 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:289
↓ 20 callersFunctionstart_driver
( contracts: &Contracts, solvers: Vec<SolverEngine>, liquidity: LiquidityProvider, quote_using
crates/e2e/src/setup/colocation.rs:127
↓ 20 callersMethodtry_into
(self)
crates/shared/src/order_quoting.rs:1035
↓ 19 callersMethodbuild
Finishes the simulation struct based on the configuration thus far.
crates/simulator/src/simulation_builder.rs:319
↓ 19 callersMethodchain
(&self)
crates/simulator/src/ethereum/mod.rs:69
↓ 19 callersMethoddb
Returns the underlying postgres connection pool that can be used do execute raw SQL queries.
crates/e2e/src/setup/services.rs:887
↓ 19 callersMethodget
(&self, token: &eth::TokenAddress)
crates/solvers/src/domain/auction.rs:26
↓ 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 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 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:248
↓ 18 callersMethodget
The raw id value. Guaranteed positive by construction.
crates/solana-driver/src/domain/auction.rs:27
↓ 18 callersMethodget
()
crates/price-estimation/src/native/eip4626.rs:269
↓ 18 callersMethodlen
(&self)
crates/price-estimation/src/native_price_cache.rs:217
↓ 18 callersMethodquote
(self, quote: OrderQuote)
crates/driver/src/tests/setup/mod.rs:281
↓ 18 callersMethodremove
(&mut self, query: &Query)
crates/account-balances/src/cached.rs:43
↓ 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:790
↓ 16 callersMethodabi_encode
(&self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:84
↓ 16 callersMethodas_str
(&self)
crates/pool-indexer/src/config.rs:56
↓ 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 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/multicall3/src/lib.rs:4580
↓ 16 callersMethodcreatePair
(data: &[u8])
contracts/generated/contracts-generated/uniswapv2factory/src/lib.rs:734
↓ 16 callersFunctionget
Get the metrics instance.
crates/solvers/src/infra/metrics.rs:57
↓ 16 callersFunctionpost
( state: State, path: Option<String>, query: Option<String>, req: serde_json::Value, )
crates/solvers/src/tests/mock/http.rs:227
↓ 16 callersFunctionserve
( addr: SocketAddr, estimator: Arc<dyn NativePriceEstimating>, max_timeout: Duration, shutdown
crates/autopilot/src/infra/api.rs:43
↓ 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 callersMethodfold
Folds every venue's newest frame into one override set, along with the newest stamp any of them quoted. Every venue keeps its lanes in the same share
crates/simulator/src/state_override_stream.rs:386
↓ 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 callersFunctionpubkey
(byte: u8)
crates/solana-driver/src/infra/blockchain/accounts.rs:163
↓ 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
↓ 15 callersMethodwith_state
(self, state: NewState)
crates/winner-selection/src/solution.rs:57
↓ 14 callersMethodas_uint256
(self)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:106
↓ 14 callersMethodbody
Get the JSON response body.
crates/driver/src/tests/setup/mod.rs:1615
↓ 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:359
↓ 14 callersMethodinsert
( &mut self, block: u64, keys: impl IntoIterator<Item = K>, values: impl IntoI
crates/liquidity-sources/src/recent_block_cache.rs:415
↓ 14 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
↓ 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 callersFunctionsnapshot
(entries: impl IntoIterator<Item = (Pubkey, Account)>)
crates/solana-driver/src/infra/blockchain/accounts.rs:167
↓ 14 callersFunctiontest_settlement
Convenience wrapper around `Settlement::new` using the test fixture defaults.
crates/solana-driver/src/domain/settlement.rs:625
↓ 14 callersMethodto_bytes
(self)
crates/solvers/src/domain/order.rs:124
↓ 14 callersFunctionweb3
Create a Web3 instance with an optional label for observability.
crates/ethrpc/src/lib.rs:66
↓ 13 callersMethodaddress
Extracts the pool address configured in the ID.
crates/driver/src/domain/liquidity/balancer/v2/mod.rs:20
↓ 13 callersMethodblock
(&self, number: u64)
crates/event-indexing/src/block_retriever.rs:40
↓ 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:881
↓ 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 callersFunctionencode
(registry: &prometheus::Registry)
crates/observe/src/metrics.rs:77
↓ 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 callersMethodfinish
( mut self, internalization_strategy: InternalizationStrategy, )
crates/solver/src/settlement/settlement_encoder.rs:463
↓ 13 callersMethodget
TODO: Remove this method and use the `in_eth` function instead.
crates/autopilot/src/domain/auction/mod.rs:61
↓ 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 callersMethodinto_response
(self)
crates/orderbook/src/api.rs:464
↓ 13 callersFunctioninto_stream
(receiver: CurrentBlockWatcher)
crates/ethrpc/src/block_stream.rs:275
↓ 13 callersMethodpath
(&self, suffix: &str)
crates/liquidity-sources/src/uniswap_v3/pool_indexer.rs:56
↓ 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 callersMethodstore
(&self)
crates/event-indexing/src/event_handler.rs:253
↓ 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 callersFunctiontrade
A trade filling the order with the given uid.
crates/solana-driver/src/domain/settlement.rs:600
↓ 13 callersFunctionu256_to_big_decimal
(u256: &U256)
crates/number/src/conversions.rs:78
↓ 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:1040
↓ 12 callersMethodestimate_native_price
( &self, token: Address, timeout: Duration, )
crates/price-estimation/src/native_price_cache.rs:418
← previousnext →101–200 of 9,022, ranked by callers