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
Method
winners
All winning solutions.
crates/winner-selection/src/arbitrator.rs:447
↓ 1 callers
Method
winning_order_uids
(&self)
crates/autopilot-svm/src/run_loop.rs:382
↓ 1 callers
Method
winning_order_uids
(&self)
crates/autopilot-svm/src/domain/cycle.rs:75
↓ 1 callers
Function
wire_size
(transaction: &VersionedTransaction)
crates/solana-driver/src/domain/settlement.rs:1387
↓ 1 callers
Method
with_base
This is the format used to pass into smart contracts.
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:57
↓ 1 callers
Method
with_buy_token_balance
(mut self, balance: BuyTokenDestination)
crates/model/src/order.rs:137
↓ 1 callers
Method
with_call_overhead
Adjusts the reported gas cost since the simulation measurement does not take into account the 21K units every tx has to pay and the cost for the calld
crates/price-estimation/src/trade_verifier.rs:787
↓ 1 callers
Method
with_cloned_provider
(self)
contracts/generated/contracts-generated/erc20/src/lib.rs:2301
↓ 1 callers
Method
with_creation_date
(mut self, creation_date: DateTime<Utc>)
crates/model/src/order.rs:142
↓ 1 callers
Function
with_custom_price
(trade: &Trade, custom_price: CustomClearingPrices)
crates/driver/src/domain/competition/solution/scoring.rs:342
↓ 1 callers
Function
with_default_filters
(custom_filters: impl IntoIterator<Item = T>)
crates/e2e/src/setup/mod.rs:101
↓ 1 callers
Method
with_eip1271
(mut self, owner: Address, signature: Vec<u8>)
crates/model/src/order.rs:163
↓ 1 callers
Method
with_ethflow_index
Select which ethflow contract to use.
crates/e2e/tests/e2e/refunder.rs:164
↓ 1 callers
Method
with_fast_quoter
(mut self, fast_quoter: Arc<dyn OrderQuoting>)
crates/orderbook/src/quoter.rs:111
↓ 1 callers
Method
with_metrics_detector
Enables detection of unsupported tokens based on heuristics.
crates/driver/src/domain/competition/risk_detector/mod.rs:65
↓ 1 callers
Method
with_networks
(mut self, networks: I)
contracts/src/codegen.rs:252
↓ 1 callers
Method
with_overrides
Queues [`AccountOverrideRequest`]s to be resolved and applied during [`build`](Self::build). Multiple requests may target the same address and will be
crates/simulator/src/simulation_builder.rs:315
↓ 1 callers
Function
with_protocol_fee
( fulfillment: &Fulfillment, prices: ClearingPrices, protocol_fee: &FeePol
crates/driver/src/domain/competition/solution/fee.rs:384
↓ 1 callers
Method
with_protocol_fee
Applies the protocol fee to the existing fulfillment creating a new one.
crates/driver/src/domain/competition/solution/fee.rs:50
↓ 1 callers
Function
with_request_id
Stamps the tracing request id header, mirroring what [`TracingRequestIdService`] does before the batching layer.
crates/ethrpc/src/alloy/rpc_headers.rs:190
↓ 1 callers
Method
with_sell_token_balance
(mut self, balance: SellTokenSource)
crates/model/src/order.rs:132
↓ 1 callers
Method
with_shift
Sets the packing shift on a balance strategy. No-op for `AaveV3AToken` and `NativeEth`, which are never packed.
crates/balance-overrides/src/balance/mod.rs:227
↓ 1 callers
Method
with_streaming_estimator
( mut self, estimator: Arc<dyn StreamingPriceEstimating>, )
crates/shared/src/order_quoting.rs:641
↓ 1 callers
Method
with_streaming_quoters
( mut self, optimal: Arc<dyn StreamingQuoting>, verified: Arc<dyn StreamingQuoting>,
crates/orderbook/src/quoter.rs:121
↓ 1 callers
Method
with_verified_quoter
(mut self, verified_quoter: Arc<dyn OrderQuoting>)
crates/orderbook/src/quoter.rs:116
↓ 1 callers
Method
with_verifier
(mut self, verifier: Arc<dyn TradeVerifying>)
crates/price-estimation/src/trade_finding/trade_estimator.rs:48
↓ 1 callers
Method
within_market
Checks if the order is a market order.
crates/model/src/order.rs:258
↓ 1 callers
Method
without_unsupported_orders
(&self, mut auction: Auction)
crates/driver/src/domain/competition/mod.rs:1054
↓ 1 callers
Function
words
(overrides: &StateOverride)
crates/simulator/src/state_override_stream.rs:462
↓ 1 callers
Method
write
Writes `timestamp` (unix seconds) into `field` in this unit. Sub-second precision is dropped, because the only thing the venue can compare against is
crates/simulator/src/state_override_stream.rs:85
↓ 1 callers
Method
write_crate
Write a per-contract crate to the contracts-generated directory.
contracts/src/codegen.rs:351
↓ 1 callers
Function
write_decimals_batch
(db: &sqlx::PgPool, entries: &[(Address, i16)])
crates/pool-indexer/src/indexer/uniswap_v3.rs:659
↓ 1 callers
Function
write_facade_cargo_toml
Generate the facade crate's Cargo.toml.
contracts/src/codegen.rs:186
↓ 1 callers
Function
write_facade_lib
Generate the facade crate's lib.rs file.
contracts/src/codegen.rs:137
↓ 1 callers
Function
write_jemalloc_stats
Streams a JSON report of jemalloc's internal counters. `allocated` tracks the live application bytes (what the heap profile samples), while `resident`
crates/observe/src/heap_dump_handler.rs:182
↓ 1 callers
Function
write_symbols_batch
(db: &sqlx::PgPool, entries: &[(Address, String)])
crates/pool-indexer/src/indexer/uniswap_v3.rs:652
↓ 1 callers
Function
ws_order_from_trade
(trade: &super::trade::Trade)
crates/autopilot/src/domain/settlement/mod.rs:452
↓ 1 callers
Function
ws_prices_from_auction
(auction: &super::Auction)
crates/autopilot/src/domain/settlement/mod.rs:459
↓ 1 callers
Method
ws_url
(&self)
crates/driver/src/tests/setup/blockchain.rs:972
Method
AUTHENTICATOR
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:7668
Method
AddedOwner_filter
Creates a new event filter for the [`AddedOwner`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4206
Method
AddressEmptyCode
( data: &[u8], )
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:4026
Method
AddressInsufficientBalance
( data: &[u8], )
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:4062
Method
AllowanceExpired
(data: &[u8])
contracts/generated/contracts-generated/permit2/src/lib.rs:3947
Method
AlreadyInflated
( data: &[u8], )
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3548
Method
AmpUpdateStarted_filter
Creates a new event filter for the [`AmpUpdateStarted`] event.
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:6575
Method
AmpUpdateStarted_filter
Creates a new event filter for the [`AmpUpdateStarted`] event.
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:4686
Method
AmpUpdateStopped_filter
Creates a new event filter for the [`AmpUpdateStopped`] event.
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:6580
Method
AmpUpdateStopped_filter
Creates a new event filter for the [`AmpUpdateStopped`] event.
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:4691
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:5679
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:5122
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:4336
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3905
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/permit2/src/lib.rs:4588
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/erc20/src/lib.rs:2407
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/weth9/src/lib.rs:2998
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:6585
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/erc20mintable/src/lib.rs:2339
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:4696
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:5501
Method
Approval_filter
Creates a new event filter for the [`Approval`] event.
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:4099
Method
ApproveHash_filter
Creates a new event filter for the [`ApproveHash`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4211
Method
AuthorizerChanged_filter
Creates a new event filter for the [`AuthorizerChanged`] event.
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:7097
Method
Burn_filter
Creates a new event filter for the [`Burn`] event.
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:5684
Method
Burn_filter
Creates a new event filter for the [`Burn`] event.
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5924
Method
Burn_filter
Creates a new event filter for the [`Burn`] event.
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:5506
Method
ChangedFallbackHandler_filter
Creates a new event filter for the [`ChangedFallbackHandler`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4216
Method
ChangedGuard_filter
Creates a new event filter for the [`ChangedGuard`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4223
Method
ChangedThreshold_filter
Creates a new event filter for the [`ChangedThreshold`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4228
Method
CollectProtocol_filter
Creates a new event filter for the [`CollectProtocol`] event.
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5934
Method
Collect_filter
Creates a new event filter for the [`Collect`] event.
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5929
Method
DOMAIN_SEPARATOR
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4801
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4218
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3578
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3203
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:7641
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5533
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:3894
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4643
Method
DOMAIN_SEPARATOR
( data: &[u8], )
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3158
Method
DeadlineExceeded
( data: &[u8], )
contracts/generated/contracts-generated/deadlinecheck/src/lib.rs:509
Method
Deposit_filter
Creates a new event filter for the [`Deposit`] event.
contracts/generated/contracts-generated/weth9/src/lib.rs:3003
Method
DisabledModule_filter
Creates a new event filter for the [`DisabledModule`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4233
Method
ECDSAInvalidSignature
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:8422
Method
ECDSAInvalidSignatureLength
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:8431
Method
ECDSAInvalidSignatureS
( data: &[u8], )
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:8413
Method
ERC1155OrderCancelled_filter
Creates a new event filter for the [`ERC1155OrderCancelled`] event.
contracts/generated/contracts-generated/izeroex/src/lib.rs:8121
Method
ERC1155OrderFilled_filter
Creates a new event filter for the [`ERC1155OrderFilled`] event.
contracts/generated/contracts-generated/izeroex/src/lib.rs:8128
Method
ERC1155OrderPreSigned_filter
Creates a new event filter for the [`ERC1155OrderPreSigned`] event.
contracts/generated/contracts-generated/izeroex/src/lib.rs:8135
Method
ERC721OrderCancelled_filter
Creates a new event filter for the [`ERC721OrderCancelled`] event.
contracts/generated/contracts-generated/izeroex/src/lib.rs:8142
Method
ERC721OrderFilled_filter
Creates a new event filter for the [`ERC721OrderFilled`] event.
contracts/generated/contracts-generated/izeroex/src/lib.rs:8149
Method
ERC721OrderPreSigned_filter
Creates a new event filter for the [`ERC721OrderPreSigned`] event.
contracts/generated/contracts-generated/izeroex/src/lib.rs:8154
Method
EnabledModule_filter
Creates a new event filter for the [`EnabledModule`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4238
Method
ErrorSelectorNotFound
( data: &[u8], )
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:4044
Method
EthTransfer
( data: &[u8], )
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:3953
Method
EthTransferFailed
( data: &[u8], )
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:4603
Method
ExceedingMintCap
( data: &[u8], )
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3538
Method
ExcessiveInvalidation
( data: &[u8], )
contracts/generated/contracts-generated/permit2/src/lib.rs:3883
Method
ExecutionFailure_filter
Creates a new event filter for the [`ExecutionFailure`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4243
Method
ExecutionFromModuleFailure_filter
Creates a new event filter for the [`ExecutionFromModuleFailure`] event.
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:4249
← previous
next →
4,001–4,100 of 10,776, ranked by callers