MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,776 in github.com/cowprotocol/services

↓ 1 callersFunctionmerge
The instructions of `transactions` in order, each with its [`Origin`].
crates/solana-orderbook/examples/decode_bundle.rs:202
↓ 1 callersFunctionmerge
Creates a vector with all possible combinations of the given solutions. The result is sorted descending by score.
crates/driver/src/domain/competition/mod.rs:1125
↓ 1 callersMethodmerge
Merge two access lists together.
crates/eth-domain-types/src/access_list.rs:25
↓ 1 callersFunctionmerge_account
Folds `update` into `target`. A frame only ever carries the fields its own venue set, so a field it leaves out means "unchanged", not "cleared" — the
crates/simulator/src/state_override_stream.rs:474
↓ 1 callersFunctionmerge_account_override
Merges `new` into `existing` field by field. Returns [`MergeConflict`] if both overrides write the same field. Non-conflicting `state_diff` entries a
crates/simulator/src/encoding.rs:693
↓ 1 callersFunctionmerge_tables
Recursively merge two TOML tables
crates/e2e/src/setup/colocation/utils/toml.rs:32
↓ 1 callersFunctionmerge_words
(target: &mut Option<B256Map<B256>>, update: Option<B256Map<B256>>)
crates/simulator/src/state_override_stream.rs:491
↓ 1 callersFunctionmerged
Observe that two solutions were merged.
crates/driver/src/infra/observe/mod.rs:145
↓ 1 callersMethodmetric_label
(self)
crates/driver/src/domain/mempools.rs:468
↓ 1 callersFunctionmetrics
()
crates/solana-orderbook/src/infra/verifier.rs:667
↓ 1 callersFunctionmetrics
()
crates/autopilot-svm/src/infra/observer.rs:201
↓ 1 callersFunctionmetrics
()
crates/autopilot-svm/src/infra/competition.rs:209
↓ 1 callersFunctionmetrics
()
crates/autopilot-svm/src/infra/sponsor.rs:364
↓ 1 callersMethodmint_block
(&self)
crates/e2e/src/setup/services.rs:903
↓ 1 callersFunctionmint_burn_pool_addresses
Unique addresses with a `Mint` or `Burn` in the chunk. We pre-load their `(tick, liquidity)` so the post-event liquidity can be derived from the in-ev
crates/pool-indexer/src/indexer/uniswap_v3.rs:429
↓ 1 callersMethodmint_info
The facts of the mint at `mint`, when the account's owner is one of the two token programs and its data reads as an initialized mint.
crates/solana-driver/src/infra/blockchain/accounts.rs:60
↓ 1 callersFunctionmintable_mint_json
An SPL Token mint `authority` can mint more of.
crates/solana-orderbook/tests/api.rs:853
↓ 1 callersMethodmints
The facts of each of `mints`, or why the mint has none, fetching only the mints missing from the cache. Only resolved mints are cached: a mint that is
crates/solana-driver/src/infra/blockchain/mod.rs:257
↓ 1 callersMethodmissing_from
Orders in `self` which are not in `other` for the same reason.
crates/driver/src/domain/competition/mod.rs:1091
↓ 1 callersFunctionmissing_setup_accounts
Collect the mints whose setup accounts must be created before `BeginSettle`. Usable accounts are filtered out. An account in a state the settlement c
crates/solana-driver/src/domain/settlement.rs:564
↓ 1 callersFunctionmock_driver
Serves `/solve` on a local port, recording the request it receives.
crates/autopilot/src/infra/solvers/mod.rs:297
↓ 1 callersFunctionmock_rpc
A mock RPC answering one order-account lookup: an initialized token account of the seeded order's buy mint, its sell token account holding and approvi
crates/autopilot-svm/src/tests.rs:153
↓ 1 callersFunctionmock_rpc_with_signature_statuses
The finalization audit asks for two signatures (the dead letter and the healthy create), both still known to the chain.
crates/solana-indexer/src/indexer/decoder/tests.rs:696
↓ 1 callersMethodmost_recent_auction
(&self)
crates/orderbook/src/database/auctions.rs:10
↓ 1 callersFunctionmounting_solver
Observe that the API routes for a solver are being mounted.
crates/driver/src/infra/observe/mod.rs:312
↓ 1 callersMethodmove_checkpoint_to_future
Moves the checkpoint to the block `latest_block - MAX_REORG_BLOCK_COUNT`
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:383
↓ 1 callersMethodmul
(self, rhs: f64)
crates/eth-domain-types/src/gas.rs:77
↓ 1 callersMethodmul_ceil
Multiplies this fee by the given floating point number, rounding up.
crates/eth-domain-types/src/gas.rs:95
↓ 1 callersMethodmultiply_amount
Multiply the sell amount of this order by the given factor.
crates/driver/src/tests/setup/mod.rs:170
↓ 1 callersMethodmultisig_signers
The first `m` signers of the token program multisig at `authority`, enough to sign for it. Empty when `authority` is no multisig.
crates/solana-orderbook/src/infra/verifier.rs:489
↓ 1 callersMethodname
(&self)
crates/fee-engine/src/rules.rs:224
↓ 1 callersMethodname
(&self)
crates/autopilot/src/event_updater.rs:78
↓ 1 callersFunctionnames
(evaluation: &Evaluation<'r>)
crates/fee-engine/src/evaluator.rs:257
↓ 1 callersFunctionnative_payout_funding
The instructions that fund the native SOL buffer's payouts: check that the payer's wSOL ATA holds the payouts less the `max_shortfall` share, close it
crates/solana-driver/src/domain/settlement.rs:984
↓ 1 callersMethodnative_price_request
(&self, order: &Order)
crates/solvers/src/domain/solver/baseline.rs:307
↓ 1 callersMethodnative_token_price_estimation_amount
(&self)
crates/price-estimation/src/factory.rs:169
↓ 1 callersMethodnetwork_fee_reserve
The network fee the limit legs sent to the engine are moved by, before any route is known: the signature fee plus the priority fee at the policy's def
crates/solana-driver/src/domain/competition.rs:572
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1342
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/counter/src/lib.rs:750
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1366
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2452
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1342
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1342
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/solver/src/lib.rs:698
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/gashog/src/lib.rs:587
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1342
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/anyoneauthenticator/src/lib.rs:343
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1342
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/gnosissafeproxy/src/lib.rs:130
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/spardose/src/lib.rs:366
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/nonstandarderc20balances/src/lib.rs:1406
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1650
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/solver7702delegate/src/lib.rs:357
↓ 1 callersFunctionnew
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/gnosissafecompatibilityfallbackhandler/src/lib.rs:1184
↓ 1 callersFunctionnew_block
(number: u64)
crates/ethrpc/src/block_stream.rs:411
↓ 1 callersMethodnext_action
(&self)
crates/price-estimation/src/native/fallback.rs:148
↓ 1 callersMethodnext_auction
(&mut self)
crates/autopilot/src/shadow.rs:97
↓ 1 callersMethodnext_auction
( &self, start_block: BlockInfo, prev_auction: &mut Option<Arc<domain::Auction>>,
crates/autopilot/src/run_loop.rs:386
↓ 1 callersMethodnext_auction
Cuts the next auction and dedupes against the previous cycle. A new auction, an empty cut, and a stale cut refresh the liveness probe. A failed cut an
crates/autopilot-svm/src/run_loop.rs:262
↓ 1 callersMethodnext_cycle
(&mut self)
crates/autopilot-svm/src/run_loop.rs:419
↓ 1 callersFunctionnext_free_interaction_indices
( db: &mut PgConnection, order: OrderUid, )
crates/database/src/orders.rs:1169
↓ 1 callersMethodnext_quote_id
(&self)
crates/orderbook/src/database/quotes.rs:47
↓ 1 callersMethodnext_solve_seq
The next solve's sequence number, counting every solve this driver receives. Sampling on this instead of the auction id keeps the stride correct howev
crates/solana-driver/src/infra/api/mod.rs:138
↓ 1 callersMethodno_interactions
Make the solution return no interactions at all, as if the solver couldn't commit to an execution path at quote time.
crates/driver/src/tests/setup/mod.rs:612
↓ 1 callersMethodno_solution_id
Assert the quote carries no driver-minted solution id: fast-path quotes are referenced by the orderbook's quote id instead.
crates/driver/src/tests/setup/mod.rs:1636
↓ 1 callersFunctionnon_empty
The symbol backfill writes `""` as a "tried and failed" sentinel. Surface that as missing instead of as an empty string.
crates/pool-indexer/src/api/uniswap_v3/mod.rs:133
↓ 1 callersFunctionnon_vault_cache_size
(size: usize)
crates/price-estimation/src/native/eip4626.rs:275
↓ 1 callersMethodnonces
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4836
↓ 1 callersFunctionnormalize
Lowercases hex strings so they compare equal to the lowercased order view.
crates/fee-engine/src/order_view/mod.rs:145
↓ 1 callersMethodnormalize_price
Applies the normalization factor to a price.
crates/price-estimation/src/native_price_cache.rs:56
↓ 1 callersFunctionnow_truncated_to_microseconds
In the DB we use `timestampz` which doesn't store nanoseconds, so we truncate them to make the comparison work.
crates/database/src/settlement_executions.rs:282
↓ 1 callersFunctionnow_unix
()
crates/autopilot-svm/src/infra/provider.rs:240
↓ 1 callersMethodnpm
(path: &str)
contracts/src/vendor.rs:264
↓ 1 callersFunctionnz
(value: u64)
crates/solana-driver/src/domain/protocol_fee.rs:117
↓ 1 callersFunctionnz
(value: u64)
crates/solana-driver/src/domain/solver_fee.rs:165
↓ 1 callersFunctionnz
(value: u64)
crates/solana-driver/src/domain/execution_cost.rs:225
↓ 1 callersMethodobserve_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/solana-driver/src/infra/config.rs:81
↓ 1 callersMethodobserve_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/solana-orderbook/src/infra/config.rs:74
↓ 1 callersMethodobserve_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/solana-indexer/src/config.rs:59
↓ 1 callersMethodobserve_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/autopilot-svm/src/infra/config.rs:212
↓ 1 callersFunctionobserve_source
Records one source request: a result and the request's duration per asked token. Requests cancelled once enough prices arrived record nothing.
crates/autopilot-svm/src/infra/prices.rs:845
↓ 1 callersFunctionobserve_transaction
Record the built transaction's footprint against the per-transaction bytes, account, and compute-unit ceilings.
crates/solana-driver/src/domain/competition.rs:1185
↓ 1 callersMethodon_competition_ended
(&self, _: &TestAuction, _: &NoRanking)
crates/autopilot-svm/src/run_loop.rs:466
↓ 1 callersMethodon_new_order
(&self, order: OrderUid)
crates/autopilot/src/infra/order_notify/mod.rs:103
↓ 1 callersMethodon_notify
(&mut self, payload: &str)
crates/autopilot-svm/src/infra/listen.rs:132
↓ 1 callersMethodon_orders_matched
(&self, _: HashSet<u64>, _: HashSet<u64>)
crates/autopilot-svm/src/run_loop.rs:462
↓ 1 callersMethodon_orders_ready
(&self, _auction: &TestAuction)
crates/autopilot-svm/src/run_loop.rs:450
↓ 1 callersMethodon_request_start
(&self, label: &str, method: &str)
crates/ethrpc/src/alloy/instrumentation.rs:229
↓ 1 callersFunctionopen_window_auction_ids
Auction ids of open windows, the seed re-read set.
crates/autopilot-svm/src/infra/db.rs:446
↓ 1 callersFunctionopens_funder_paid_account
Whether the creation opens a new account with the funder's lamports. An account already in `existing` costs nothing to create idempotently.
crates/autopilot-svm/src/infra/sponsor.rs:346
↓ 1 callersFunctionorder
()
crates/solana-driver/src/infra/api/routes/solve/dto/solve_request.rs:281
↓ 1 callersFunctionorder
(owner: Address, sell: Address, buy: Address)
crates/fee-engine/tests/rules.rs:64
↓ 1 callersFunctionorder_cost
The execution cost of the order `request` describes when placed on a stored quote with `network_fee`: that fee and the rent of the order's buy token a
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:404
↓ 1 callersFunctionorder_event_ids
(pool: &PgPool)
crates/autopilot/src/periodic_db_cleanup.rs:138
↓ 1 callersFunctionorder_events_matching_fuzzy
(actual: &[OrderEvent], expected: &[OrderEventLabel])
crates/e2e/tests/e2e/univ2.rs:152
↓ 1 callersFunctionorder_exists
Whether an order with this uid is already stored.
crates/solana-orderbook/src/infra/db.rs:295
↓ 1 callersFunctionorder_flags
(order: &OrderData, signature: &Signature)
crates/simulator/src/encoding.rs:179
↓ 1 callersFunctionorder_has_trade
Whether the order has at least one trade.
crates/solana-orderbook/src/infra/db.rs:243
↓ 1 callersMethodorder_is_actively_bid_on
( &self, order_uid: &OrderUid, latest_competitions_count: u32, )
crates/orderbook/src/database/solver_competition_v2.rs:73
↓ 1 callersFunctionorder_is_in_recent_solutions
Returns whether the given order uid appears in any solution of the `latest_competitions_count` most recent competitions.
crates/database/src/solver_competition_v2.rs:506
← previousnext →3,201–3,300 of 10,776, ranked by callers