Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowprotocol/services
/ functions
Functions
10,747 in github.com/cowprotocol/services
⨍
Functions
10,747
◇
Types & classes
3,488
Method
tryAggregate
(data: &[u8])
contracts/generated/contracts-generated/multicall3/src/lib.rs:4104
Method
tryBlockAndAggregate
( data: &[u8], )
contracts/generated/contracts-generated/multicall3/src/lib.rs:4034
Method
try_acquire
Tries to acquire the leader lock and handles the liveness status.
crates/database/src/leader_pg_lock.rs:53
Method
try_from
(value: f64)
crates/configs/src/fee_factor.rs:57
Method
try_from
(value: f64)
crates/configs/src/autopilot/penalty_cap.rs:72
Method
try_from
(pool: PoolData)
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:88
Method
try_from
(value: &'a BigRational)
crates/liquidity-sources/src/balancer_v2/swap/fixed_point.rs:57
Method
try_from
(raw: RawAuction)
crates/solvers-dto/src/auction.rs:91
Method
try_from
(value: Block)
crates/ethrpc/src/block_stream.rs:65
Method
try_from
(bps: u16)
crates/solana-driver/src/domain/solver_fee.rs:49
Method
try_from
(id: i64)
crates/solana-driver/src/domain/auction.rs:50
Method
try_from
The program refuses an intent selling or buying zero, so such an order has no intent.
crates/solana-driver/src/domain/settlement.rs:622
Method
try_from
(raw: RawProtocolAppData)
crates/app-data/src/app_data.rs:344
Method
try_from
(json: JsonSignature)
crates/model/src/signature.rs:217
Method
try_from
(data: QuoteSigningDeserializationData)
crates/model/src/quote.rs:99
Method
try_from
Fails on an amount past `u64::MAX`, which no token amount reaches.
crates/solana-orderbook/src/infra/api/routes/status/dto.rs:69
Method
try_from
Initializes `Network` from a chain ID, returns error if the chain id is not supported
crates/chain/src/lib.rs:128
Method
try_from
(value: i64)
crates/driver/src/domain/competition/auction.rs:312
Method
try_from
(r: PgRow)
crates/pool-indexer/src/db/uniswap_v3.rs:381
Method
try_from
(value: Decimal)
crates/fee-engine/src/fee_factor.rs:32
Method
try_from
(row: QuoteRow)
crates/shared/src/order_quoting.rs:393
Method
try_from
(value: U256)
crates/number/src/nonzero.rs:27
Method
try_from
(log: Log)
crates/autopilot/src/database/events.rs:50
Method
try_from
(row: OrderRow)
crates/autopilot-svm/src/infra/db.rs:722
Method
try_from
( value: alloy_rpc_types::eth::state::AccountOverride, )
crates/simulator/src/tenderly/dto.rs:156
Method
try_from_auction_prices
Returns a set of external prices for the specified auction model prices.
crates/shared/src/external_prices.rs:52
Method
try_into_domain
(self)
crates/autopilot/src/infra/persistence/dto/auction.rs:56
Function
try_into_dto
(value: DbResponse)
crates/orderbook/src/database/solver_competition_v2.rs:94
Method
try_mul_div_ceil
(self, mul: Self, div: Self)
crates/chain-types/src/solana.rs:163
Method
try_mul_f64
(self, factor: f64)
crates/chain-types/src/solana.rs:175
Method
try_new
( back_off_growth_factor: f64, min_back_off: Duration, max_back_off: Duration, )
crates/configs/src/rate_limit.rs:32
Method
try_new
Creates a new subgraph client from the specified organization and name.
crates/liquidity-sources/src/subgraph.rs:34
Method
try_new
(factor: U256, precision: U256)
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:51
Method
try_new
Creates a new liquidity fetcher for the specified Ethereum instance and configuration.
crates/driver/src/infra/liquidity/fetcher.rs:42
Method
try_new
(config: Config, eth: Ethereum)
crates/driver/src/infra/solver/mod.rs:273
Method
try_new
Instantiate an RPC client to an Ethereum (or Ethereum-compatible) node at the specifed URL.
crates/driver/src/infra/blockchain/mod.rs:51
Method
try_new
(config: &Config, chain: chain::Chain)
crates/driver/src/infra/notify/liquidity_sources/mod.rs:39
Method
try_new
(eth: &Ethereum, solution: &competition::Solution)
crates/driver/src/domain/quote.rs:41
Method
try_new
Returns a token pair for the given tokens, or `Err` if `a` and `b` are equal.
crates/driver/src/domain/liquidity/mod.rs:76
Method
try_new
Creates a new fee from the specified basis points. Returns `Err` for invalid fee values (i.e. outside the range `[0, 1000]`).
crates/driver/src/domain/liquidity/swapr.rs:43
Method
try_new
Creates new Uniswap V2 token reserves, returns `Err` if the specified token addresses are equal.
crates/driver/src/domain/liquidity/uniswap/v2.rs:54
Method
try_new
Creates new Balancer V2 token reserves, returns `Err` if the specified token reserves are invalid.
crates/driver/src/domain/liquidity/balancer/v2/weighted.rs:61
Method
try_new
Creates new Balancer V2 token reserves, returns `Err` if the specified token reserves are invalid, specifically, if there are duplicate tokens.
crates/driver/src/domain/liquidity/balancer/v2/stable.rs:57
Method
try_new
(value: eth::Ether)
crates/driver/src/domain/competition/auction.rs:229
Method
try_new
Creates a new fetcher for the specified configuration.
crates/driver/src/boundary/liquidity/mod.rs:54
Method
try_new
Creates a new set of external prices for the specified exchange rates.
crates/shared/src/external_prices.rs:27
Method
try_new
(start: T, end: T)
crates/event-indexing/src/block_retriever.rs:136
Method
try_new
( url: Url, name: String, submission_account: Account, extensions: SupportedEx
crates/autopilot/src/infra/solvers/mod.rs:69
Method
try_new
( transaction: &blockchain::Transaction, domain_separator: ð::DomainSeparator, sett
crates/autopilot/src/domain/settlement/transaction/mod.rs:70
Method
try_new
(value: eth::Ether)
crates/autopilot/src/domain/auction/mod.rs:52
Method
try_new
(config: Config)
crates/solvers/src/infra/dex/bitget/mod.rs:121
Method
try_new
(config: Config)
crates/solvers/src/infra/dex/okx/mod.rs:104
Method
try_new
(uri: &str, config: Config)
crates/orderbook/src/database/mod.rs:72
Method
try_new_with_timeout
Creates a Postgres connection pool, but applies the [`Config`]'s `statement_timeout` to all queries.
crates/orderbook/src/database/mod.rs:81
Function
try_replace_someone_else_order_test
(web3: Web3)
crates/e2e/tests/e2e/replace_order.rs:258
Function
try_replace_unreplaceable_order_test
(web3: Web3)
crates/e2e/tests/e2e/replace_order.rs:86
Method
try_widening_mul_div_floor
(self, mul: Self, div: Self)
crates/chain-types/src/solana.rs:171
Function
two_factories
Two factories on one network are served as a single union: each factory's pools show up in `/pools`, attributed to that factory.
crates/e2e/tests/e2e/pool_indexer.rs:746
Function
two_limit_orders_multiple_winners_test
(web3: Web3)
crates/e2e/tests/e2e/limit_orders.rs:377
Function
two_limit_orders_test
(web3: Web3)
crates/e2e/tests/e2e/limit_orders.rs:240
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/izeroex/src/lib.rs:126
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/cowswaponchainorders/src/lib.rs:716
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:2260
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/balancerqueries/src/lib.rs:126
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/balancerv2vault/src/lib.rs:130
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/cowswapethflow/src/lib.rs:1236
Method
type_check
(token: &Self::Token<'_>)
contracts/generated/contracts-generated/gnosissafe/src/lib.rs:124
Method
type_info
()
crates/database/src/byte_array.rs:38
Function
u128_custom_delta
()
crates/number/src/testing.rs:135
Function
u128_exceeds_threshold
()
crates/number/src/testing.rs:120
Function
u128_identical_values
()
crates/number/src/testing.rs:104
Function
u128_within_threshold
()
crates/number/src/testing.rs:111
Function
u128_zero_values
()
crates/number/src/testing.rs:128
Function
u256_custom_delta
()
crates/number/src/testing.rs:179
Function
u256_exceeds_threshold
()
crates/number/src/testing.rs:164
Function
u256_identical_values
()
crates/number/src/testing.rs:148
Function
u256_max_values
()
crates/number/src/testing.rs:192
Function
u256_to_big_decimal_
()
crates/number/src/conversions.rs:218
Function
u256_to_big_uint_
()
crates/number/src/conversions.rs:192
Function
u256_within_threshold
()
crates/number/src/testing.rs:155
Function
u256_zero_values
()
crates/number/src/testing.rs:172
Function
u64_custom_delta
()
crates/number/src/testing.rs:91
Function
u64_exceeds_threshold
()
crates/number/src/testing.rs:75
Function
u64_identical_values
()
crates/number/src/testing.rs:59
Function
u64_within_threshold
()
crates/number/src/testing.rs:66
Function
u64_zero_values
()
crates/number/src/testing.rs:84
Function
u8_as_32_bytes_be
(u: u8)
crates/solver/src/interactions/uniswap_v2.rs:44
Function
uid
Uid with all 56 bytes set to `uid_byte`.
crates/autopilot/src/infra/solvers/dto/solve.rs:609
Function
uid_is_displayed_as_hex
()
crates/model/src/order.rs:1450
Function
uid_json
(uid_byte: u8)
crates/autopilot/src/infra/solvers/dto/solve.rs:613
Method
uid_owner
(uid: &OrderUid)
crates/chain-types/src/evm.rs:57
Method
uid_owner
The intent hash embeds no owner, so JIT orders cannot be attributed.
crates/chain-types/src/solana.rs:147
Function
uids
(uids: impl IntoIterator<Item = &'a OrderUid>)
crates/solana-driver/src/domain/auction.rs:449
Method
unchanged
(quote: &Quote)
crates/orderbook/src/quoter.rs:56
Function
undeclared_limit_is_priced_at_the_policy_default
()
crates/solana-driver/src/domain/priority_fee.rs:254
Function
unfreeze_bad_orders
()
crates/driver/src/domain/competition/risk_detector/bad_orders/metrics.rs:172
Function
uniform_buy_token_index_accepts_weth_for_eth
()
crates/autopilot/src/domain/settlement/transaction/mod.rs:329
Method
uniswap
(address: Address, tokens: TokenPair, reserves: (u128, u128))
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:63
Method
uniswap_v2
(chain: Chain)
crates/driver/src/infra/liquidity/config.rs:78
Method
uniswap_v3
(pool_indexer: UniswapV3PoolIndexer, chain: Chain)
crates/driver/src/infra/liquidity/config.rs:203
← previous
next →
10,301–10,400 of 10,747, ranked by callers