MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,747 in github.com/cowprotocol/services

↓ 2 callersMethodis_quote
Whether this auction only computes a quote.
crates/driver/src/domain/competition/auction.rs:109
↓ 2 callersMethodis_ready
(&self)
crates/price-estimation/src/native_price_cache.rs:140
↓ 2 callersFunctionis_same_buy_and_sell_token
Whether an order's sell and buy tokens are effectively the same asset. A native-token buy (`BUY_ETH_ADDRESS`) counts as the wrapped `native_token`, so
crates/shared/src/order_validation.rs:403
↓ 2 callersMethodis_sol
Whether `token` is SOL, wrapped or native: it prices at the denominator without a lookup.
crates/autopilot-svm/src/infra/prices.rs:314
↓ 2 callersMethoditer
Returns an iterator over the reserve assets.
crates/driver/src/domain/liquidity/balancer/v2/weighted.rs:80
↓ 2 callersMethoditer
Returns an iterator over the reserve assets.
crates/driver/src/domain/liquidity/balancer/v2/stable.rs:76
↓ 2 callersMethoditer
Returns an iterator over the token reserves.
crates/solvers/src/domain/liquidity/weighted_product.rs:41
↓ 2 callersMethodjit_order
Solver send the solution as JIT order
crates/driver/src/tests/setup/mod.rs:1076
↓ 2 callersFunctionjson
(value: &dyn Val)
crates/fee-engine/src/order_view/mod.rs:155
↓ 2 callersFunctionkind
(row: &OrderRow)
crates/solana-orderbook/src/infra/api/routes/order/dto.rs:72
↓ 2 callersMethodknown_signatures
Whether each signature is known to the cluster, within the node's transaction-history horizon.
crates/solana-driver/src/infra/blockchain/mod.rs:225
↓ 2 callersMethodlabel
Returns a the order kind as a string label that can be used in metrics.
crates/model/src/order.rs:844
↓ 2 callersFunctionlanded_json
A `getTransaction` answer for a landed creation, failed with `err` when given. The transaction body is not read.
crates/autopilot-svm/src/infra/sponsor.rs:631
↓ 2 callersMethodlast_event_block
(&self)
crates/event-indexing/src/event_handler.rs:739
↓ 2 callersFunctionlast_indexed_slot
Latest slot the indexer fully processed. `None` before the indexer's first write. `solana.indexer_state` is a single-row table.
crates/autopilot-svm/src/infra/db.rs:166
↓ 2 callersMethodlast_indexed_slot
The last fully indexed slot, the stream resumes one past it. `None` before the first write.
crates/solana-indexer/src/persistence.rs:77
↓ 2 callersMethodlast_submission
Looks up the last tx that was submitted for that signer.
crates/driver/src/infra/mempool/mod.rs:170
↓ 2 callersFunctionlatest_indexed_block
(state: &AppState)
crates/pool-indexer/src/api/mod.rs:65
↓ 2 callersFunctionlatest_settlement_block
(ex: &mut PgConnection)
crates/database/src/orders.rs:1070
↓ 2 callersMethodlegs
The signed order-side target and the other leg.
crates/solana-driver/src/domain/auction.rs:316
↓ 2 callersMethodlegs
The signed order-side target and the other leg.
crates/autopilot-svm/src/domain/auction.rs:111
↓ 2 callersMethodliquidity
The liquidity configuration of this solver
crates/driver/src/infra/solver/mod.rs:319
↓ 2 callersFunctionliquidity_interaction
( liquidity: &Liquidity, slippage: &slippage::Parameters, settlement_contract: &Address, )
crates/driver/src/domain/competition/solution/encoding.rs:294
↓ 2 callersFunctionlist
(tokens: &[Address])
crates/orderbook/src/fee_engine.rs:335
↓ 2 callersFunctionload
Load the driver configuration from a TOML file. # Panics This method panics if the config is invalid or on I/O errors.
crates/solana-driver/src/infra/config.rs:26
↓ 2 callersFunctionload
Load the orderbook configuration from a TOML file. # Panics This method panics if the config is invalid or on I/O errors.
crates/solana-orderbook/src/infra/config.rs:24
↓ 2 callersFunctionload
Load the indexer configuration from a TOML file. # Panics This function panics if the config is invalid or on I/O errors.
crates/solana-indexer/src/config.rs:21
↓ 2 callersFunctionload
Load the autopilot configuration from a TOML file. # Panics This function panics if the config is invalid or on I/O errors.
crates/autopilot-svm/src/infra/config.rs:23
↓ 2 callersFunctionload_by_tx_hash
( mut ex: &mut PgConnection, tx_hash: TransactionHash, after_block: Option<i64>, )
crates/database/src/solver_competition_v2.rs:76
↓ 2 callersMethodload_competition_by_id
( &self, auction_id: i64, current_block: Option<i64>, )
crates/orderbook/src/database/solver_competition_v2.rs:16
↓ 2 callersMethodload_competition_by_tx_hash
( &self, tx_hash: B256, current_block: Option<i64>, )
crates/orderbook/src/database/solver_competition_v2.rs:34
↓ 2 callersFunctionload_host_rules
Loads the rules of `[fee-engine]`, with the list `wrapped_native` and the `host_lists` added, which the section may not set.
crates/shared/src/fee_engine.rs:17
↓ 2 callersMethodload_latest_competition
( &self, current_block: Option<i64>, )
crates/orderbook/src/database/solver_competition_v2.rs:56
↓ 2 callersFunctionload_most_recent
( ex: &mut PgConnection, )
crates/database/src/auction.rs:11
↓ 2 callersFunctionload_rule_set_definition
(definition: RuleSetDefinition)
crates/fee-engine/src/loader.rs:104
↓ 2 callersFunctionlog_auction_delta
( previous: Option<&domain::Auction>, current: &domain::Auction, start_block: &BlockIn
crates/autopilot/src/run_loop.rs:1133
↓ 2 callersFunctionlogexpmath_contract_constants
Compare computed constants with smart contract code.
crates/liquidity-sources/src/balancer_v2/swap/fixed_point/logexpmath.rs:238
↓ 2 callersFunctionmake_flashloan_1271_order_creation
EIP-1271 order with a flashloan hint from `LENDER` that covers the sell amount, i.e. an order a passing simulation may accept on its own.
crates/shared/src/order_validation.rs:3549
↓ 2 callersMethodmanager
( data: &[u8], )
contracts/generated/contracts-generated/gpv2allowlistauthentication/src/lib.rs:1491
↓ 2 callersMethodmany_orders
(&self, uids: &[OrderUid])
crates/orderbook/src/database/orders.rs:332
↓ 2 callersFunctionmap
A CEL map of the fields that are set: an unset option is absent, not `null`, so `.?` and `has` both read it as missing.
crates/fee-engine/src/order_view/mod.rs:81
↓ 2 callersFunctionmap_rows_to_solutions
(rows: Vec<SolutionRow>)
crates/database/src/solver_competition_v2.rs:427
↓ 2 callersMethodmatches
Returns true if the search parameter instance matches the specified quote data.
crates/shared/src/order_quoting.rs:510
↓ 2 callersMethodmax_batch_size
(&self)
crates/price-estimation/src/native/coingecko.rs:240
↓ 2 callersMethodmax_solutions_to_propose
(mut self, n: usize)
crates/driver/src/tests/setup/mod.rs:421
↓ 2 callersFunctionmempool_submission_result
Emit per-receiver submission counters with the final, reclassified label (`Success` / `Revert` / `Expired` / `Other` / `Superseded` / `Disabled`). Cal
crates/driver/src/infra/observe/mod.rs:419
↓ 2 callersFunctionmessages
The same transfer as a v0 and a v1 message.
crates/cow-solana-signer/src/lib.rs:195
↓ 2 callersMethodmetric_label
(&self)
crates/driver/src/infra/builders.rs:102
↓ 2 callersFunctionmetrics
()
crates/solana-orderbook/src/infra/quoter.rs:296
↓ 2 callersFunctionmetrics
()
crates/solana-orderbook/src/infra/api/routes/create_order/mod.rs:728
↓ 2 callersFunctionmetrics
()
crates/price-estimation/src/competition/mod.rs:239
↓ 2 callersMethodmine_order_invalidation
( &self, sender: Address, ethflow_contract: &CoWSwapEthFlow::Instance, )
crates/e2e/tests/e2e/ethflow.rs:980
↓ 2 callersMethodminimum_replacement_gas_price
( &self, mempool: &infra::Mempool, signer: eth::Address, next_nonce: u64,
crates/driver/src/domain/mempools.rs:350
↓ 2 callersFunctionmint_account
An initialized 82-byte SPL Token mint.
crates/solana-driver/src/infra/blockchain/accounts.rs:341
↓ 2 callersFunctionmint_info
(account: Option<&Account>)
crates/solana-orderbook/src/infra/verifier.rs:596
↓ 2 callersFunctionmint_verdict
The verdict on the mint at `account`, which is `None` when the account does not exist. A mint is refused while its fee schedule live at `epoch` charge
crates/solana-token/src/lib.rs:92
↓ 2 callersMethodmints
The [`MintInfo`] per mint, from the cache or the mint accounts on chain. A mint that is missing or does not unpack as a mint of either token program i
crates/autopilot-svm/src/infra/prices.rs:511
↓ 2 callersMethodname
(&self)
crates/event-indexing/src/event_handler.rs:655
↓ 2 callersMethodname
(&self)
crates/autopilot-svm/src/infra/prices.rs:563
↓ 2 callersMethodnative_price
The native price of `mint`, `None` when the auction has none for it. A zero price counts as none: it would value the mint at nothing.
crates/solana-solvers/src/dto/auction.rs:47
↓ 2 callersMethodnative_price_estimator
Creates a native price estimator from the given sources.
crates/price-estimation/src/factory.rs:437
↓ 2 callersMethodnetwork_fee_at
[`Self::network_fee`] over fees already fetched.
crates/solana-driver/src/domain/competition.rs:588
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1472
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:5412
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4879
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:4104
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/deadlinecheck/src/lib.rs:575
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3680
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5665
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:4454
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/balancerv2basepoolfactory/src/lib.rs:246
↓ 2 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:5238
↓ 2 callersFunctionnew_app_data_cid
(contract_app_data: &AppDataHash)
crates/orderbook/src/ipfs_app_data.rs:123
↓ 2 callersFunctionnext_blocks
The blocks after the current one: the ones that can include a tx sent now.
crates/driver/src/domain/submission.rs:9
↓ 2 callersFunctionnext_ids
(ex: &mut PgConnection, n: usize)
crates/database/src/quotes.rs:53
↓ 2 callersFunctionno_fee
A fee schedule from `epoch` on that takes nothing.
crates/solana-token/src/lib.rs:322
↓ 2 callersMethodnon_winners
All solutions that were not filtered out but also did not win.
crates/autopilot/src/domain/competition/winner_selection.rs:261
↓ 2 callersMethodnow
(&self)
crates/shared/src/order_quoting.rs:569
↓ 2 callersFunctionobserve
Records `tokens` estimates of `source` that ended in `result` after `elapsed`.
crates/autopilot-svm/src/infra/prices.rs:822
↓ 2 callersMethodobserved_slot
The slot up to which a settlement can be ruled out: the indexer's watermark, or the tip itself once the indexer lags beyond its allowance or never wro
crates/autopilot-svm/src/infra/observation.rs:58
↓ 2 callersFunctionold_app_data_cid
(contract_app_data: &AppDataHash)
crates/orderbook/src/ipfs_app_data.rs:128
↓ 2 callersFunctiononchain_order_placement_error_from
( order: &FullOrderDb, )
crates/shared/src/db_order_conversions.rs:246
↓ 2 callersFunctionopen_orders
Orders open for solving: unexpired, settleable by a driver, not cancelled and not fully filled. A pending sponsored order whose stored creation transa
crates/autopilot-svm/src/infra/db.rs:82
↓ 2 callersFunctionopen_settlement_window
Open a settlement-execution window for a dispatched settlement.
crates/autopilot-svm/src/infra/db.rs:237
↓ 2 callersFunctionorder
()
crates/solana-solvers/src/dex/bitget/dto.rs:187
↓ 2 callersFunctionorder
(buy_mint: Pubkey, buy_program: Option<TokenProgram>)
crates/solana-token/src/quote.rs:79
↓ 2 callersFunctionorder
(kind: OrderKind, quote: Option<Quote>)
crates/autopilot-svm/src/domain/fee.rs:105
↓ 2 callersFunctionorder
(sell_amount: u64)
crates/autopilot-svm/src/domain/auction.rs:194
↓ 2 callersMethodorder
(&self)
crates/liquidity-sources/src/zeroex.rs:217
↓ 2 callersFunctionorder_created
The `OrderCreated` an intent on the wire describes. Its hash is the UID.
crates/solana-indexer/src/indexer/decoder.rs:511
↓ 2 callersMethodorder_eip1271_signature
( &self, order: &OrderCreation, onchain: &OnchainComponents, )
crates/e2e/src/setup/onchain_components/safe.rs:222
↓ 2 callersFunctionorder_json
Serialize a quoted order in the shape the driver expects for /solve orders.
crates/driver/src/tests/setup/driver.rs:67
↓ 2 callersFunctionorder_json
JSON of a minimal order as serialized by [`RequestHelper`], with all bytes of the uid set to `uid_byte`.
crates/autopilot/src/infra/solvers/dto/solve.rs:619
↓ 2 callersFunctionorder_uid
(byte: u8)
crates/autopilot/src/infra/solvers/dto/solve.rs:499
↓ 2 callersFunctionorder_uid
Recover order uid from order data and signature
crates/autopilot/src/domain/settlement/transaction/tokenized.rs:13
↓ 2 callersMethodorder_uid
The UID of the order.
crates/driver/src/tests/setup/blockchain.rs:178
↓ 2 callersFunctionorder_with_tokens
(token_a: Address, token_b: Address)
crates/solver/src/liquidity/zeroex.rs:214
↓ 2 callersFunctionorders_from_rows
A row the indexer wrote always converts (on-chain values fit the domain types), so a failure means corrupt data. The corrupt order is skipped instead
crates/autopilot-svm/src/infra/db.rs:706
↓ 2 callersFunctionorders_with_trades
The program settles exactly the orders passed to `BeginSettle`, so the orders the solution does not fill must stay out of the settlement.
crates/solana-driver/src/domain/competition.rs:1013
↓ 2 callersFunctionoutcome
(pool: &PgPool, auction_id: i64)
crates/autopilot-svm/src/infra/observation.rs:328
← previousnext →1,801–1,900 of 10,747, ranked by callers