MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,776 in github.com/cowprotocol/services

↓ 1 callersMethodinto_swap
Flatten into execution order (setup, swap, cleanup).
crates/solana-solvers/src/dex/jupiter/dto.rs:85
↓ 1 callersMethodinto_tick_data
(self, pool_address: Address)
crates/liquidity-sources/src/uniswap_v3/pool_indexer.rs:204
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/izeroex/src/lib.rs:77
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/cowswaponchainorders/src/lib.rs:667
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:2211
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:77
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:81
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:1187
↓ 1 callersMethodinto_underlying
(self)
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:75
↓ 1 callersFunctioninvalid
()
crates/driver/src/tests/cases/multiple_solutions.rs:132
↓ 1 callersFunctioninvalid_address_returns_400
()
crates/e2e/tests/e2e/pool_indexer.rs:568
↓ 1 callersFunctioninvalid_length
()
crates/app-data/src/app_data_hash.rs:149
↓ 1 callersMethodinvalidateOrder
( data: &[u8], )
contracts/generated/contracts-generated/gpv2settlement/src/lib.rs:4298
↓ 1 callersMethodinvalidateOrdersIgnoringNotAllowed
( data: &[u8], )
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:4266
↓ 1 callersMethodinvalidated
Mark order as invalidated on-chain after creation.
crates/e2e/tests/e2e/refunder.rs:158
↓ 1 callersMethodis_alive
Answering at all proves the runtime is responsive, which is all a restart can fix.
crates/orderbook/src/orderbook.rs:790
↓ 1 callersMethodis_blockhash_valid_at_processed
Whether the blockhash is still usable for a new transaction at processed commitment, which includes slots the node has not confirmed.
crates/cow-solana-rpc/src/lib.rs:411
↓ 1 callersFunctionis_buy_order_filled
(amount: &BigDecimal, executed_amount: &BigDecimal)
crates/orderbook/src/database/orders.rs:696
↓ 1 callersMethodis_contract
Check if a smart contract is deployed to the given address.
crates/driver/src/infra/blockchain/mod.rs:187
↓ 1 callersMethodis_contract_error
(&self)
crates/ethrpc/src/alloy/errors.rs:28
↓ 1 callersFunctionis_delegated_to
Check whether the account's code is an EIP-7702 delegation to `expected_delegate`.
crates/driver/src/infra/solver/eip7702.rs:365
↓ 1 callersFunctionis_duplicate_record_error
(err: &sqlx::Error)
crates/database/src/orders.rs:277
↓ 1 callersMethodis_fresh
Whether the price changed within `max_age` of `now`. A price without an update time cannot be shown fresh.
crates/price-estimation/src/native/coingecko.rs:34
↓ 1 callersMethodis_fresh
Whether the price changed within `max_age` of `now`. A price without an update time cannot be shown fresh.
crates/autopilot-svm/src/infra/prices.rs:164
↓ 1 callersFunctionis_hex
(text: &str)
crates/fee-engine/src/order_view/mod.rs:140
↓ 1 callersMethodis_invalid
A wrapper is invalid if it isn't an authorized solver since only those may call `settle()`. Being authorized isn't sufficient though: solvers' submiss
crates/order-validation/src/wrappers.rs:53
↓ 1 callersMethodis_network_configured
(&self, name: &str)
crates/pool-indexer/src/api/mod.rs:28
↓ 1 callersMethodis_partial
(&self)
crates/driver/src/domain/competition/order/mod.rs:147
↓ 1 callersFunctionis_range_too_large
True if the server-side JSON-RPC payload rejected `eth_getLogs` for being too wide / returning too many logs / exceeding a response-size cap / hitting
crates/pool-indexer/src/indexer/uniswap_v3.rs:685
↓ 1 callersFunctionis_reasonable
(result: &PriceEstimateResult)
crates/price-estimation/src/competition/quote.rs:215
↓ 1 callersMethodis_revert
Returns whether the error indicates that the original transaction reverted.
crates/driver/src/infra/blockchain/mod.rs:390
↓ 1 callersFunctionis_sell_order_filled
( amount: &BigDecimal, executed_amount: &BigDecimal, executed_fee: &BigDecimal, )
crates/orderbook/src/database/orders.rs:684
↓ 1 callersFunctionis_settlement_trace
(trace: &blockchain::CallFrame, settlement_contract: eth::Address)
crates/autopilot/src/domain/settlement/transaction/mod.rs:241
↓ 1 callersFunctionis_token_program
Whether `program` is one of the two token programs, classic SPL or Token-2022.
crates/solana-orderbook/src/infra/api/routes/mint.rs:17
↓ 1 callersMethodis_valid_for_all_pairs
(&self)
crates/balance-overrides/src/approval/mod.rs:165
↓ 1 callersMethodis_valid_solver
( &self, prospective_solver: eth::Address, block: BlockId, )
crates/autopilot/src/domain/settlement/transaction/mod.rs:28
↓ 1 callersFunctionjemalloc_stats_report
()
crates/observe/src/heap_dump_handler.rs:219
↓ 1 callersMethodjit_orders
Check that the solution contains the expected JIT orders.
crates/driver/src/tests/setup/mod.rs:1408
↓ 1 callersFunctionjoin
Append a path segment to the base URL. `Url::join` is RFC 3986 relative resolution, which drops the base's last path segment unless it ends in a slash
crates/autopilot-svm/src/infra/driver/mod.rs:116
↓ 1 callersFunctionjoin_url
Join a path with a URL, ensuring that there is only one slash between them.
crates/liquidity-sources/src/zeroex.rs:33
↓ 1 callersMethodkeep_track_of_balances
Tells the cache to continuously update the settlement contract balance of the given tokens if they are already present in the cache. That only really
crates/driver/src/infra/tokens.rs:57
↓ 1 callersMethodkill
Most reliable way to kill the process. If you get the chance to manually clean up the [`Node`] do it because the [`Drop::drop`] implementation can not
crates/e2e/src/nodes/mod.rs:104
↓ 1 callersMethodkind_and_amount
Returns the order kind together with the corresponding input amount: the sell amount (before or after fee) for sell orders, and the buy amount after f
crates/model/src/quote.rs:178
↓ 1 callersMethodlabel
(self)
crates/solana-orderbook/src/infra/verifier.rs:107
↓ 1 callersMethodlamports
The lamports at `address`, zero when no account is there.
crates/solana-driver/src/infra/blockchain/accounts.rs:43
↓ 1 callersMethodland_creations
Land the sponsored creation transactions before the node reaches `deadline_slot`. The settlement needs them confirmed first: `BeginSettle` reads the o
crates/solana-driver/src/domain/competition.rs:866
↓ 1 callersMethodlanded_failure
How a creation the node remembers as processed failed on chain, or `None` when it executed fine. The lookup is at confirmed commitment, so a creation
crates/autopilot-svm/src/infra/sponsor.rs:261
↓ 1 callersFunctionlane
(index: u8)
crates/simulator/src/state_override_stream.rs:666
↓ 1 callersFunctionlast_auction_id
The id the autopilot took for its last cut. Read from the id sequence, because a background task archives the auction itself.
crates/e2e/tests/e2e/autopilot_leader.rs:329
↓ 1 callersMethodlast_handled_block
(&self)
crates/event-indexing/src/event_handler.rs:261
↓ 1 callersFunctionlast_used_auction_id
(ex: &mut PgConnection)
crates/database/src/auction.rs:23
↓ 1 callersMethodlast_used_auction_id
(&self)
crates/orderbook/src/database/auctions.rs:26
↓ 1 callersFunctionlatest_auction_id
(ex: &mut PgConnection)
crates/e2e/tests/e2e/database.rs:114
↓ 1 callersMethodlatest_confirmed_blockhash
The latest confirmed blockhash, the last block height at which it stays usable, and the slot of its block. The method always fetches the blockhash at
crates/cow-solana-rpc/src/lib.rs:171
↓ 1 callersFunctionlatest_fee_policies_of_order
Returns the fee policies stored for that order in the latest auction it was part of, in application order.
crates/e2e/tests/e2e/database.rs:41
↓ 1 callersMethodlatest_order_event
(&self, order_uid: &OrderUid)
crates/orderbook/src/database/orders.rs:420
↓ 1 callersMethodlayer
(&self, inner: S)
crates/ethrpc/src/alloy/instrumentation.rs:33
↓ 1 callersMethodleader
(&self, key: String)
crates/autopilot/src/infra/persistence/mod.rs:101
↓ 1 callersMethodleader_for
How long the leader acts after sending a ping: 8 s. Postgres closes the session 10 s after it answered, which is later, so the leader stops first.
crates/leader-lock/src/leader_pg_lock.rs:169
↓ 1 callersFunctionlegacy_config
The fee policies prod configures, with `volume` as the default volume fee.
crates/autopilot/src/fee_engine.rs:301
↓ 1 callersFunctionlegs
(solution: &Solution)
crates/solana-driver/src/domain/protocol_fee.rs:175
↓ 1 callersFunctionlighthouse_memory_creation_tx
A bundle carrying a Lighthouse instruction outside the assertion range: `MemoryWrite`, which funds an account from a payer the template cannot vouch f
crates/solana-orderbook/tests/api.rs:2287
↓ 1 callersFunctionlimit_prices_json
The quoted sell/buy amounts, used as the fast-path limit prices.
crates/driver/src/tests/setup/driver.rs:196
↓ 1 callersFunctionlimit_to_native
How far `order`'s limit sits inside the native exchange rate: the native value it gives up over the native value its limit accepts, `sell × p_sell / (
crates/solana-solvers/src/domain/solver/mod.rs:317
↓ 1 callersMethodlimited
One aggregator request through the rate limiter, logged under `what`. A request dropped during a back-off counts as rate limited.
crates/solana-solvers/src/domain/solver/mod.rs:247
↓ 1 callersFunctionlink_quote
The stored quote `id` names when it matches the order (same pair and side, same fixed amount, unexpired), `None` otherwise. The unfixed side carries t
crates/solana-orderbook/src/infra/api/routes/create_order/mod.rs:774
↓ 1 callersFunctionliquidity
(config: &config::Config, eth: &Ethereum)
crates/driver/src/run.rs:205
↓ 1 callersMethodliquidity
(&self)
crates/driver/src/infra/api/mod.rs:225
↓ 1 callersMethodliquidity_pairs
Returns a collection of liquidity token pairs that are relevant to this auction.
crates/driver/src/domain/competition/auction.rs:137
↓ 1 callersFunctionliquidity_sources
The provider-specific entries under `[liquidity]`. Exactly one side is populated; the other serializes to nothing.
crates/e2e/src/setup/colocation/driver_config.rs:94
↓ 1 callersFunctionliquidity_sources_notifier
( config: &config::Config, eth: &Ethereum, )
crates/driver/src/run.rs:211
↓ 1 callersMethodlist_holders
`mint`'s largest token accounts from the holders node. A lookup that fails, or has no node to ask, lists none until the next one is due.
crates/solana-orderbook/src/infra/verifier.rs:532
↓ 1 callersFunctionlist_values
Each list as a CEL map of its members to `true`, hex members lowercased like the order view's. `in`, e.g. `order.sellToken in stablecoins`, is then a
crates/fee-engine/src/rules.rs:419
↓ 1 callersFunctionload
Load the driver configuration from a TOML file for the specifed Ethereum network. # Panics This method panics if the config is invalid or on I/O err
crates/driver/src/infra/config/file/load.rs:28
↓ 1 callersFunctionload
Load the driver configuration from a TOML file. # Panics This method panics if the config is invalid or on I/O errors.
crates/solvers/src/infra/config/baseline.rs:58
↓ 1 callersFunctionload_account
(account: file::Account, chain_id: Option<u64>)
crates/driver/src/infra/config/file/load.rs:367
↓ 1 callersFunctionload_latest
( mut ex: &mut PgConnection, after_block: Option<i64>, )
crates/database/src/solver_competition_v2.rs:97
↓ 1 callersFunctionlog
Logs the message in this process' logs and reports it back to the connected socket.
crates/observe/src/tracing/reload_handler.rs:108
↓ 1 callersMethodlog
(self)
crates/fee-engine/src/report.rs:68
↓ 1 callersMethodlog_simulation_command
( &self, tx: TransactionRequest, overrides: StateOverride, block: BlockNo,
crates/simulator/src/tenderly/mod.rs:163
↓ 1 callersFunctionlog_simulation_outcome
Logs disagreements (signature pass + simulation revert, or vice versa) and infra errors as warnings. Agreement is silent.
crates/shared/src/order_validation.rs:132
↓ 1 callersFunctionlog_simulation_request
( simulation_endpoint: &Url, dashboard: &Url, simulation: dto::Request, )
crates/simulator/src/tenderly/mod.rs:257
↓ 1 callersMethodmaintain
(&self, tokens: &HashSet<Pubkey>)
crates/autopilot-svm/src/infra/prices.rs:374
↓ 1 callersFunctionmake_span
Trace context propagation: associate the current span with the OTel trace of the given request, if any and valid.
crates/observe/src/tracing/distributed/axum.rs:22
↓ 1 callersFunctionmake_test_json
()
crates/autopilot/src/infra/solvers/dto/solve.rs:482
↓ 1 callersMethodmanual
(&self, name: &str, reason: &str)
contracts/src/vendor.rs:313
↓ 1 callersFunctionmany_full_orders_with_quotes
( ex: &'a mut PgConnection, order_ids: &'a [OrderUid], )
crates/database/src/orders.rs:744
↓ 1 callersMethodmap_hits_to_addresses
Maps the reported signatures back to their addresses and records them in the local cache.
crates/order-validation/src/banned/hermod.rs:143
↓ 1 callersMethodmark_non_vault
Records `token` in the negative cache so subsequent requests skip the RPC probing and delegate straight to the inner estimator.
crates/price-estimation/src/native/eip4626.rs:159
↓ 1 callersMethodmark_winners
Picks winners and sorts all solutions where winners come before non-winners and higher scores come before lower scores.
crates/winner-selection/src/arbitrator.rs:120
↓ 1 callersFunctionmatched
The names of the matched rules, and the fees of the first.
crates/fee-engine/tests/rules.rs:82
↓ 1 callersMethodmax_gas_limit
(&self)
crates/simulator/src/simulation_builder.rs:87
↓ 1 callersMethodmax_network_fee
The most a transaction's network fee comes to under this policy: the budget plus the signature fee.
crates/solana-driver/src/domain/priority_fee.rs:133
↓ 1 callersMethodmax_partner_fee
The cap on an order's partner fees together, as a share of the volume. `None` counts no partner fee.
crates/fee-engine/src/rules.rs:360
↓ 1 callersMethodmax_priority_fee_lamports
The most the transaction could pay in priority fee, in lamports, rounded up. An undeclared limit is priced at the network ceiling.
crates/solana-orderbook/src/infra/api/routes/create_order/mod.rs:993
↓ 1 callersFunctionmax_settlement_age
How old (in terms of blocks) a settlement should be, to be considered as a settlement from another environment. Currently set to ~6h
crates/autopilot/src/domain/settlement/mod.rs:300
↓ 1 callersMethodmeasure
(self, label: &str)
crates/observe/src/future.rs:12
↓ 1 callersMethodmeasure_auction_overhead
(&self, start: Instant, component: &str, phase: &str)
crates/observe/src/metrics.rs:204
↓ 1 callersMethodmeasure_upload
Sets whether to log how long the body takes to upload.
crates/autopilot/src/infra/solvers/dto/solve.rs:121
↓ 1 callersFunctionmempool_log
Log a single mempool submission attempt. Called inline from the racing task so that errors from mempools that later get superseded are still visible i
crates/driver/src/infra/observe/mod.rs:380
← previousnext →3,101–3,200 of 10,776, ranked by callers