Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,736 in github.com/cowprotocol/services
⨍
Functions
10,736
◇
Types & classes
3,464
Method
name_by_selector
(selector: [u8; 4usize])
contracts/generated/contracts-generated/balancerv2authorizer/src/lib.rs:969
Method
name_by_selector
(selector: [u8; 4usize])
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:3415
Method
name_by_selector
(selector: [u8; 4usize])
contracts/generated/contracts-generated/gnosissafecompatibilityfallbackhandler/src/lib.rs:954
Method
name_by_selector
(selector: [u8; 4usize])
contracts/generated/contracts-generated/erc1271signaturevalidator/src/lib.rs:255
Method
name_by_selector
(selector: [u8; 4usize])
contracts/generated/contracts-generated/icowwrapper/src/lib.rs:395
Function
names_a_bundle_leg_from_its_simulation_alone
()
crates/solana-driver/src/domain/competition.rs:1393
Function
names_the_program_that_raised_the_code
()
crates/solana-driver/src/domain/program_error.rs:152
Function
native_buys_owe_no_rent
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:2021
Function
native_buys_pay_system_wallets
()
crates/autopilot-svm/src/infra/provider.rs:748
Function
native_payouts_leave_wallets_rent_exempt
()
crates/solana-orderbook/src/infra/api/routes/mod.rs:61
Function
native_payouts_leave_wallets_rent_exempt
()
crates/autopilot-svm/src/infra/provider.rs:869
Function
native_price
( Path(mint): Path<String>, Query(query): Query<NativePriceQuery>, State(prices): State<NativePric
crates/autopilot-svm/src/infra/api.rs:57
Function
native_price_custom_solver_errors
(web3: Web3)
crates/e2e/tests/e2e/quoting.rs:640
Function
native_sol_and_wsol_prices_collapse_into_one_entry
()
crates/solana-driver/src/infra/solver/dto/auction.rs:639
Function
native_sol_buy_quote_is_priced_as_wsol
()
crates/solana-driver/tests/api.rs:1353
Function
native_sol_buys_count_as_wsol
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:2076
Function
native_sol_buys_have_no_buy_mint
()
crates/solana-orderbook/src/infra/api/routes/mint.rs:53
Function
native_sol_canonicalizes_to_the_wrapped_mint
()
crates/chain-types/src/solana.rs:192
Function
native_sol_payouts_are_funded_from_the_unwrapped_wsol
()
crates/solana-driver/src/domain/settlement.rs:2325
Function
native_sol_payouts_are_never_transfer_checked
()
crates/solana-driver/src/domain/settlement.rs:2605
Method
native_token
(&self)
crates/simulator/src/simulation_builder.rs:83
Function
negative
()
crates/orderbook/src/api.rs:882
Function
negative_absolute_cap_panics
()
crates/autopilot/src/domain/penalty_cap.rs:308
Method
network_fee
The network fee of the transaction paying this priority fee, in lamports: the signature fee plus the priority fee.
crates/solana-driver/src/domain/priority_fee.rs:90
Function
network_guard
404s requests whose `{network}` segment doesn't match this process.
crates/pool-indexer/src/api/routes.rs:46
Method
network_id
Returns the network ID for the chain.
crates/solvers/src/domain/eth/chain.rs:40
Function
new
( auction_id: Option<auction::Id>, solution_id: Option<solution::Id>, kind: notify::Kind, )
crates/driver/src/infra/solver/dto/notification.rs:6
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/ierc4626/src/lib.rs:511
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1350
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/erc1271signaturevalidator/src/lib.rs:363
Function
new
( address: alloy_sol_types::private::Address, __provider: P, )
contracts/generated/contracts-generated/icowwrapper/src/lib.rs:517
Method
new
(name: &str, url: &str)
crates/configs/src/order_quoting.rs:66
Method
new
(factor: f64)
crates/configs/src/fee_factor.rs:18
Method
new
(estimators: Vec<Vec<NativePriceEstimator>>)
crates/configs/src/native_price_estimators.rs:40
Method
new
(name: String, url: Url, account: Account)
crates/configs/src/autopilot/solver.rs:34
Method
new
(native_token: Address, base_tokens: &[Address])
crates/liquidity-sources/src/base_tokens.rs:19
Method
new
number_of_entries_to_auto_update: The number of most recently used entries to keep track of and auto update when the current block changes. maximum_r
crates/liquidity-sources/src/recent_block_cache.rs:187
Method
new
(order: Order, metadata: OrderMetadata)
crates/liquidity-sources/src/zeroex.rs:209
Method
new
(base_url: Url, chain: Chain, http: Client)
crates/liquidity-sources/src/uniswap_v3/pool_indexer.rs:50
Method
new
Fetches the list of existing UniswapV3 pools and their metadata (without state/ticks). Then fetches state/ticks for the deepest pools (subset of all e
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:161
Method
new
(inner: T, address: Address)
crates/liquidity-sources/src/uniswap_v3/event_fetching.rs:51
Method
new
(reader: Reader, web3: Web3, cache_time: Duration)
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:207
Method
new
Creates a new pool cache.
crates/liquidity-sources/src/uniswap_v2/pool_cache.rs:33
Method
new
( subgraph_url: &Url, block_retriever: Arc<dyn BlockRetrieving>, token_infos: Arc<dyn
crates/liquidity-sources/src/balancer_v2/pool_fetching/mod.rs:236
Method
new
Creates a new aggregate pool fetcher from the specified fetchers.
crates/liquidity-sources/src/balancer_v2/pool_fetching/aggregate.rs:21
Method
new
( inner: Inner, config: CacheConfig, block_stream: CurrentBlockWatcher, )
crates/liquidity-sources/src/balancer_v2/pool_fetching/cache.rs:35
Method
new
Returns a new pool registry for the specified factory.
crates/liquidity-sources/src/balancer_v2/pool_fetching/registry.rs:79
Method
new
( initial_pools: Vec<Factory::PoolInfo>, pool_info_fetcher: Arc<dyn common::PoolInfoFetching<F
crates/liquidity-sources/src/balancer_v2/pool_fetching/pool_storage.rs:58
Method
new
( vault: BalancerV2Vault::Instance, factory: Factory, token_infos: Arc<dyn TokenInfoFe
crates/liquidity-sources/src/balancer_v2/pools/common.rs:50
Method
new
(pool: &PgPool, key: String, idle_timeout: Duration)
crates/leader-lock/src/leader_pg_lock.rs:133
Method
new
(leader_lock: Option<impl LeaderLock + 'static>)
crates/leader-lock/src/leader_lock_tracker.rs:22
Method
new
(wallet: EthereumWallet)
crates/ethrpc/src/alloy/wallet.rs:21
Method
new
(config: Config)
crates/ethrpc/src/alloy/buffering.rs:49
Method
new
(request_id: Option<String>, body: T)
crates/event-bus-dto/src/envelope.rs:26
Method
new
Build a solver client from its configuration, loading the signer the config names: a local keypair file or an AWS KMS key.
crates/solana-driver/src/infra/solver/mod.rs:80
Method
new
Build the wire order from a domain order, the taker and the settlement program id. The volume fees among `policies` tighten the limit leg first, then
crates/solana-driver/src/infra/solver/dto/auction.rs:129
Method
new
Build the shared state the handlers operate on.
crates/solana-driver/src/infra/api/mod.rs:114
Method
new
Build a settle response from the submitted transaction signature.
crates/solana-driver/src/infra/api/routes/settle/dto/settle_response.rs:28
Method
new
Build the wire response from the driver's domain solutions.
crates/solana-driver/src/infra/api/routes/solve/dto/solve_response.rs:51
Method
new
(rpc: SolanaRPC, program_id: Pubkey)
crates/solana-driver/src/infra/blockchain/mod.rs:78
Method
new
(accounts: HashMap<Pubkey, Account>)
crates/solana-driver/src/infra/blockchain/accounts.rs:34
Method
new
( solver: Solver, blockchain: Arc<Solana>, buy_token_accounts: BuyTokenAccountCache,
crates/solana-driver/src/domain/competition.rs:90
Method
new
Construct a validated auction id. Reject non-positive values.
crates/solana-driver/src/domain/auction.rs:34
Method
new
Build a settlement and validate its orders. Each wire order PDA must match the PDA derived from its uid, and each order must be filled within the sam
crates/solana-driver/src/domain/settlement.rs:123
Method
new
Build the KMS client from the ambient AWS environment and resolve the key's public half.
crates/cow-solana-signer/src/lib.rs:105
Method
new
Creates a new instance with default detection parameters.
crates/balance-overrides/src/lib.rs:38
Method
new
( web3: Web3, probing_depth: u8, verification_timeout: Duration, cache_size: u
crates/balance-overrides/src/approval/mod.rs:210
Method
new
( web3: Web3, probing_depth: u8, verification_timeout: Duration, cache_size: u
crates/balance-overrides/src/balance/mod.rs:313
Method
new
Creates a new app data [`Validator`] with the provided app data `size_limit` (in bytes).
crates/app-data/src/app_data.rs:273
Method
new
( web3: &Web3, settlement: GPv2Settlement::Instance, signatures_address: Address,
crates/signature-validator/src/simulation.rs:37
Method
new
( signer: Address, hash: [u8; 32], signature: Vec<u8>, interactions: Vec<Inter
crates/signature-validator/src/lib.rs:25
Method
new
Create a new token pair from two addresses. The addresses must not be the equal.
crates/model/src/lib.rs:30
Method
new
( database: D, chain: CR, submitter: CW, min_validity_duration: i64, m
crates/refunder/src/refund_service.rs:154
Method
new
(pool: PgPool, lookback_time: Option<Duration>)
crates/refunder/src/infra/database.rs:25
Method
new
(provider: AlloyProvider, ethflow_addresses: Vec<Address>)
crates/refunder/src/infra/chain.rs:19
Method
new
Creates a new liquidity source which might only be initialized at a later point in time. If a `reinit_timout` is provided the liquidity source will be
crates/solver/src/liquidity_collector.rs:62
Method
new
( pool_fetcher: Arc<dyn BalancerPoolFetching>, settlement: Address, vault: Address,
crates/solver/src/liquidity/balancer_v2.rs:29
Method
new
(router: Address, gpv2_settlement: Address, fee: Ratio<u32>)
crates/solver/src/liquidity/uniswap_v3.rs:34
Method
new
( router: Address, gpv2_settlement: Address, pool_fetcher: Arc<dyn PoolFetching>,
crates/solver/src/liquidity/uniswap_v2.rs:28
Method
new
( api: Arc<dyn ZeroExApi>, zeroex: IZeroex::Instance, gpv2: Address, blocks_st
crates/solver/src/liquidity/zeroex.rs:36
Method
new
( mocks: MocksMap, failures: impl IntoIterator<Item = (RpcRequest, TransactionError)>,
crates/cow-solana-rpc/src/lib.rs:642
Method
new
(web3: &Web3, balance_simulator: BalanceSimulator)
crates/account-balances/src/simulation.rs:23
Method
new
( settlement: GPv2Settlement::Instance, balances: Balances::Instance, vault_relayer: A
crates/account-balances/src/lib.rs:117
Method
new
(inner: Arc<dyn BalanceFetching>)
crates/account-balances/src/cached.rs:72
Method
new
(config: &JupiterConfig)
crates/solana-solvers/src/dex/jupiter/mod.rs:45
Method
new
The swap rides inside the settlement tx, so SOL wrapping is left off and Jupiter skips its account RPC probes.
crates/solana-solvers/src/dex/jupiter/dto.rs:46
Method
new
(config: &BitgetConfig)
crates/solana-solvers/src/dex/bitget/mod.rs:36
Method
new
(order: &Order, taker: &Pubkey, slippage_bps: u16, max_accounts: u16)
crates/solana-solvers/src/dex/bitget/dto.rs:46
Method
new
( quoter: Q, concurrent_requests: NonZeroUsize, rate_limiting: Strategy, max_b
crates/solana-solvers/src/domain/solver/mod.rs:64
Method
new
Wraps one quoted swap into a single-order solution. The swap's instructions are carried verbatim as interactions.
crates/solana-solvers/src/dto/solution.rs:100
Method
new
( rpc: SolanaRPC, bundle: SolanaRPC, holders: Option<SolanaRPC>, program_id: P
crates/solana-orderbook/src/infra/verifier.rs:210
Method
new
(endpoints: Vec<Url>, timeout: Duration)
crates/solana-orderbook/src/infra/quoter.rs:155
Method
new
`autopilot` is the base URL, ending in a slash so the route resolves under its path.
crates/solana-orderbook/src/infra/prices.rs:42
Method
new
( pool: PgPool, quoter: Quoter, prices: NativePrices, validation: ValidationPa
crates/solana-orderbook/src/infra/api/mod.rs:232
Method
new
(row: TradeRow, executed_protocol_fees: Vec<ExecutedProtocolFee>)
crates/solana-orderbook/src/infra/api/routes/trades/dto.rs:42
Method
new
(request: &dto::Request, program: Option<TokenProgram>)
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:822
Method
new
Assemble the wire order from its row at the given time and chain block height. A `None` height skips the creation deadline check.
crates/solana-orderbook/src/infra/api/routes/order/dto.rs:106
Method
new
(authenticator: GPv2AllowListAuthentication::Instance, settlement: Address)
crates/order-validation/src/wrappers.rs:23
Method
new
(config: Config, max_cached_signatures: u64)
crates/order-validation/src/banned/hermod.rs:69
Method
new
Builds the validator from a hardcoded list and an optional Hermod backend. `cache_max_size` caps the cached Hermod address signatures and the cached v
crates/order-validation/src/banned/mod.rs:25
← previous
next →
7,801–7,900 of 10,736, ranked by callers