Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,776 in github.com/cowprotocol/services
⨍
Functions
10,776
◇
Types & classes
3,479
↓ 1 callers
Function
merge
The instructions of `transactions` in order, each with its [`Origin`].
crates/solana-orderbook/examples/decode_bundle.rs:202
↓ 1 callers
Function
merge
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 callers
Method
merge
Merge two access lists together.
crates/eth-domain-types/src/access_list.rs:25
↓ 1 callers
Function
merge_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 callers
Function
merge_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 callers
Function
merge_tables
Recursively merge two TOML tables
crates/e2e/src/setup/colocation/utils/toml.rs:32
↓ 1 callers
Function
merge_words
(target: &mut Option<B256Map<B256>>, update: Option<B256Map<B256>>)
crates/simulator/src/state_override_stream.rs:491
↓ 1 callers
Function
merged
Observe that two solutions were merged.
crates/driver/src/infra/observe/mod.rs:145
↓ 1 callers
Method
metric_label
(self)
crates/driver/src/domain/mempools.rs:468
↓ 1 callers
Function
metrics
()
crates/solana-orderbook/src/infra/verifier.rs:667
↓ 1 callers
Function
metrics
()
crates/autopilot-svm/src/infra/observer.rs:201
↓ 1 callers
Function
metrics
()
crates/autopilot-svm/src/infra/competition.rs:209
↓ 1 callers
Function
metrics
()
crates/autopilot-svm/src/infra/sponsor.rs:364
↓ 1 callers
Method
mint_block
(&self)
crates/e2e/src/setup/services.rs:903
↓ 1 callers
Function
mint_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 callers
Method
mint_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 callers
Function
mintable_mint_json
An SPL Token mint `authority` can mint more of.
crates/solana-orderbook/tests/api.rs:853
↓ 1 callers
Method
mints
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 callers
Method
missing_from
Orders in `self` which are not in `other` for the same reason.
crates/driver/src/domain/competition/mod.rs:1091
↓ 1 callers
Function
missing_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 callers
Function
mock_driver
Serves `/solve` on a local port, recording the request it receives.
crates/autopilot/src/infra/solvers/mod.rs:297
↓ 1 callers
Function
mock_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 callers
Function
mock_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 callers
Method
most_recent_auction
(&self)
crates/orderbook/src/database/auctions.rs:10
↓ 1 callers
Function
mounting_solver
Observe that the API routes for a solver are being mounted.
crates/driver/src/infra/observe/mod.rs:312
↓ 1 callers
Method
move_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 callers
Method
mul
(self, rhs: f64)
crates/eth-domain-types/src/gas.rs:77
↓ 1 callers
Method
mul_ceil
Multiplies this fee by the given floating point number, rounding up.
crates/eth-domain-types/src/gas.rs:95
↓ 1 callers
Method
multiply_amount
Multiply the sell amount of this order by the given factor.
crates/driver/src/tests/setup/mod.rs:170
↓ 1 callers
Method
multisig_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 callers
Method
name
(&self)
crates/fee-engine/src/rules.rs:224
↓ 1 callers
Method
name
(&self)
crates/autopilot/src/event_updater.rs:78
↓ 1 callers
Function
names
(evaluation: &Evaluation<'r>)
crates/fee-engine/src/evaluator.rs:257
↓ 1 callers
Function
native_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 callers
Method
native_price_request
(&self, order: &Order)
crates/solvers/src/domain/solver/baseline.rs:307
↓ 1 callers
Method
native_token_price_estimation_amount
(&self)
crates/price-estimation/src/factory.rs:169
↓ 1 callers
Method
network_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 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1342
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/counter/src/lib.rs:750
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1366
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2452
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1342
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1342
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/solver/src/lib.rs:698
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/gashog/src/lib.rs:587
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1342
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/anyoneauthenticator/src/lib.rs:343
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1342
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/gnosissafeproxy/src/lib.rs:130
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/spardose/src/lib.rs:366
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/nonstandarderc20balances/src/lib.rs:1406
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1650
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/solver7702delegate/src/lib.rs:357
↓ 1 callers
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/gnosissafecompatibilityfallbackhandler/src/lib.rs:1184
↓ 1 callers
Function
new_block
(number: u64)
crates/ethrpc/src/block_stream.rs:411
↓ 1 callers
Method
next_action
(&self)
crates/price-estimation/src/native/fallback.rs:148
↓ 1 callers
Method
next_auction
(&mut self)
crates/autopilot/src/shadow.rs:97
↓ 1 callers
Method
next_auction
( &self, start_block: BlockInfo, prev_auction: &mut Option<Arc<domain::Auction>>,
crates/autopilot/src/run_loop.rs:386
↓ 1 callers
Method
next_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 callers
Method
next_cycle
(&mut self)
crates/autopilot-svm/src/run_loop.rs:419
↓ 1 callers
Function
next_free_interaction_indices
( db: &mut PgConnection, order: OrderUid, )
crates/database/src/orders.rs:1169
↓ 1 callers
Method
next_quote_id
(&self)
crates/orderbook/src/database/quotes.rs:47
↓ 1 callers
Method
next_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 callers
Method
no_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 callers
Method
no_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 callers
Function
non_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 callers
Function
non_vault_cache_size
(size: usize)
crates/price-estimation/src/native/eip4626.rs:275
↓ 1 callers
Method
nonces
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4836
↓ 1 callers
Function
normalize
Lowercases hex strings so they compare equal to the lowercased order view.
crates/fee-engine/src/order_view/mod.rs:145
↓ 1 callers
Method
normalize_price
Applies the normalization factor to a price.
crates/price-estimation/src/native_price_cache.rs:56
↓ 1 callers
Function
now_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 callers
Function
now_unix
()
crates/autopilot-svm/src/infra/provider.rs:240
↓ 1 callers
Method
npm
(path: &str)
contracts/src/vendor.rs:264
↓ 1 callers
Function
nz
(value: u64)
crates/solana-driver/src/domain/protocol_fee.rs:117
↓ 1 callers
Function
nz
(value: u64)
crates/solana-driver/src/domain/solver_fee.rs:165
↓ 1 callers
Function
nz
(value: u64)
crates/solana-driver/src/domain/execution_cost.rs:225
↓ 1 callers
Method
observe_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/solana-driver/src/infra/config.rs:81
↓ 1 callers
Method
observe_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/solana-orderbook/src/infra/config.rs:74
↓ 1 callers
Method
observe_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/solana-indexer/src/config.rs:59
↓ 1 callers
Method
observe_config
Build the `observe::Config` for the tracing framework from the logging configuration.
crates/autopilot-svm/src/infra/config.rs:212
↓ 1 callers
Function
observe_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 callers
Function
observe_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 callers
Method
on_competition_ended
(&self, _: &TestAuction, _: &NoRanking)
crates/autopilot-svm/src/run_loop.rs:466
↓ 1 callers
Method
on_new_order
(&self, order: OrderUid)
crates/autopilot/src/infra/order_notify/mod.rs:103
↓ 1 callers
Method
on_notify
(&mut self, payload: &str)
crates/autopilot-svm/src/infra/listen.rs:132
↓ 1 callers
Method
on_orders_matched
(&self, _: HashSet<u64>, _: HashSet<u64>)
crates/autopilot-svm/src/run_loop.rs:462
↓ 1 callers
Method
on_orders_ready
(&self, _auction: &TestAuction)
crates/autopilot-svm/src/run_loop.rs:450
↓ 1 callers
Method
on_request_start
(&self, label: &str, method: &str)
crates/ethrpc/src/alloy/instrumentation.rs:229
↓ 1 callers
Function
open_window_auction_ids
Auction ids of open windows, the seed re-read set.
crates/autopilot-svm/src/infra/db.rs:446
↓ 1 callers
Function
opens_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 callers
Function
order
()
crates/solana-driver/src/infra/api/routes/solve/dto/solve_request.rs:281
↓ 1 callers
Function
order
(owner: Address, sell: Address, buy: Address)
crates/fee-engine/tests/rules.rs:64
↓ 1 callers
Function
order_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 callers
Function
order_event_ids
(pool: &PgPool)
crates/autopilot/src/periodic_db_cleanup.rs:138
↓ 1 callers
Function
order_events_matching_fuzzy
(actual: &[OrderEvent], expected: &[OrderEventLabel])
crates/e2e/tests/e2e/univ2.rs:152
↓ 1 callers
Function
order_exists
Whether an order with this uid is already stored.
crates/solana-orderbook/src/infra/db.rs:295
↓ 1 callers
Function
order_flags
(order: &OrderData, signature: &Signature)
crates/simulator/src/encoding.rs:179
↓ 1 callers
Function
order_has_trade
Whether the order has at least one trade.
crates/solana-orderbook/src/infra/db.rs:243
↓ 1 callers
Method
order_is_actively_bid_on
( &self, order_uid: &OrderUid, latest_competitions_count: u32, )
crates/orderbook/src/database/solver_competition_v2.rs:73
↓ 1 callers
Function
order_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
← previous
next →
3,201–3,300 of 10,776, ranked by callers