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
swapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1192
Method
swapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1192
Method
swapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1189
Method
swapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1189
Method
swapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1189
Method
swapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1189
Function
swap_api_error
To run this test, set the following environment variables accordingly to your OKX setup: OKX_PROJECT_ID, OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE
crates/solvers/src/tests/okx/api_calls.rs:145
Function
swap_buy_all_chains
()
crates/solvers/src/tests/bitget/api_calls.rs:163
Function
swap_buy_disabled
()
crates/solvers/src/tests/bitget/api_calls.rs:249
Function
swap_buy_disabled
()
crates/solvers/src/tests/okx/api_calls.rs:58
Function
swap_buy_enabled
To run this test, set the following environment variables accordingly to your OKX setup: OKX_PROJECT_ID, OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE
crates/solvers/src/tests/okx/api_calls.rs:98
Function
swap_buy_insufficient_liquidity
To run this test, set the following environment variables accordingly to your OKX setup: OKX_PROJECT_ID, OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE
crates/solvers/src/tests/okx/api_calls.rs:227
Function
swap_creates_full_state
()
crates/pool-indexer/src/indexer/uniswap_v3.rs:1283
Function
swap_of
(in_amount: u64)
crates/solana-solvers/src/dex/mod.rs:199
Function
swap_sell_all_chains
()
crates/solvers/src/tests/bitget/api_calls.rs:79
Function
swap_sell_insufficient_liquidity
To run this test, set the following environment variables accordingly to your OKX setup: OKX_PROJECT_ID, OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE
crates/solvers/src/tests/okx/api_calls.rs:186
Function
swap_sell_regular
To run this test, set the following environment variables accordingly to your OKX setup: OKX_PROJECT_ID, OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE
crates/solvers/src/tests/okx/api_calls.rs:16
Method
swapr
(chain: Chain)
crates/driver/src/infra/liquidity/config.rs:166
Function
switches_to_fallback_on_protocol_internal
()
crates/price-estimation/src/native/fallback.rs:251
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4872
Method
symbol
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4297
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3637
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3257
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/erc20/src/lib.rs:1956
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/weth9/src/lib.rs:2421
Method
symbol
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5635
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:3964
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4708
Method
symbol
(data: &[u8])
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3203
Method
sync
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4914
Method
sync
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4750
Method
sync_to_tip
The order data is push-fed by the indexer, there is no cache to refresh.
crates/autopilot-svm/src/infra/provider.rs:253
Method
target
(data: &[u8])
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1501
Function
task_terminates_gracefully
()
crates/event-indexing/src/maintenance.rs:277
Method
tenderly
(&self)
crates/simulator/src/simulation_builder.rs:121
Function
terminal_grpc_status_returns_stream_error
()
crates/solana-indexer/src/indexer/ingester/tests.rs:235
Function
test
()
crates/driver/src/tests/cases/buy_eth.rs:9
Function
test
()
crates/driver/src/tests/cases/example_config.rs:7
Function
test
()
crates/solvers/src/tests/cases/partial_fill.rs:7
Function
test
()
crates/solvers/src/tests/cases/direct_swap.rs:7
Function
test
(web3: Web3)
crates/e2e/tests/e2e/partial_fill.rs:20
Function
test
(web3: Web3)
crates/e2e/tests/e2e/eth_safe.rs:19
Function
test
(web3: Web3)
crates/e2e/tests/e2e/tracking_insufficient_funds.rs:19
Function
test
Tests that a user can create an order without holding any sell-token balance as long as they have already set a sufficient on-chain approval to the va
crates/e2e/tests/e2e/uncovered_order.rs:29
Function
test
(web3: Web3)
crates/e2e/tests/e2e/partially_fillable_balance.rs:19
Function
test
(web3: Web3)
crates/e2e/tests/e2e/partially_fillable_pool.rs:18
Method
test
(name: &str, address: Address)
crates/configs/src/autopilot/solver.rs:83
Method
test
(name: &str, solver_address: alloy_primitives::Address)
crates/configs/src/autopilot/mod.rs:272
Method
test
Create a 0x HTTP API client for testing using the default HTTP client. This method will attempt to read the `ZEROEX_URL` (falling back to the default
crates/liquidity-sources/src/zeroex.rs:308
Method
test
Create a testing rate limiter.
crates/rate-limit/src/lib.rs:130
Function
test_adjust_quote_to_in_market_buy_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:342
Function
test_adjust_quote_to_in_market_sell_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:316
Function
test_adjust_quote_to_out_market_buy_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:290
Function
test_adjust_quote_to_out_market_sell_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:265
Function
test_all_orders_already_refunded
()
crates/refunder/src/refund_service.rs:451
Function
test_approve
()
crates/driver/src/domain/competition/solution/encoding.rs:481
Function
test_array_override
()
crates/e2e/src/setup/colocation/utils/toml.rs:116
Function
test_batch_request_entry_add_element_pop_thrice
()
crates/ethrpc/src/alloy/buffering.rs:584
Function
test_batch_request_entry_pop_twice
()
crates/ethrpc/src/alloy/buffering.rs:572
Function
test_blocks_in
()
crates/chain/src/lib.rs:212
Function
test_bucket_listing_eth_marker_matches_wrapped_native_token
()
crates/shared/src/fee.rs:466
Function
test_calculate_submission_gas_price
()
crates/refunder/src/submitter.rs:164
Function
test_cancel_on_expiry
(web3: Web3)
crates/e2e/tests/e2e/submission.rs:66
Function
test_checked_ceil_div
()
crates/number/src/u256_ext.rs:151
Function
test_checked_mul_f64
()
crates/number/src/u256_ext.rs:202
Function
test_contract_address_extraction_from_uid
(#[case] contract: Address)
crates/refunder/src/refund_service.rs:937
Function
test_contract_error
()
crates/ethrpc/src/alloy/errors.rs:135
Function
test_convert_onchain_limit_order_placement
()
crates/autopilot/src/database/onchain_order_events/mod.rs:1134
Function
test_convert_onchain_order_placement_with_non_zero_fee
()
crates/autopilot/src/database/onchain_order_events/mod.rs:1020
Function
test_convert_to_quote_id_and_user_valid_to
()
crates/autopilot/src/database/onchain_order_events/ethflow_events.rs:302
Function
test_create2_mainnet
()
crates/liquidity-sources/src/uniswap_v2/pair_provider.rs:44
Function
test_create_strategies_reverses_order
()
crates/balance-overrides/src/balance/mod.rs:610
Function
test_create_strategies_with_heuristic_slots_stable
()
crates/balance-overrides/src/balance/mod.rs:660
Function
test_create_strategies_zero_heuristic_depth
()
crates/balance-overrides/src/balance/mod.rs:727
Function
test_creation_with_chain_id
()
crates/shared/src/token_list.rs:209
Function
test_debug_interaction
()
crates/price-estimation/src/trade_finding/mod.rs:385
Method
test_default
()
crates/configs/src/order_quoting.rs:91
Method
test_default
()
crates/configs/src/native_price_estimators.rs:51
Method
test_default
()
crates/configs/src/simulator.rs:132
Method
test_default
()
crates/configs/src/database.rs:137
Method
test_default
()
crates/configs/src/balance_cache.rs:58
Method
test_default
()
crates/configs/src/price_estimation.rs:151
Method
test_default
()
crates/configs/src/shared.rs:383
Method
test_default
()
crates/configs/src/autopilot/ethflow.rs:25
Method
test_default
()
crates/configs/src/autopilot/run_loop.rs:131
Method
test_default
Test configuration for [`NativePriceConfig`], must always be able to do a serialization/deserialization roundtrip, as otherwise it may not be loadable
crates/configs/src/autopilot/native_price.rs:63
Method
test_default
The orderbook forwards native price requests to the autopilot.
crates/configs/src/orderbook/native_price.rs:30
Method
test_default
()
crates/configs/src/orderbook/mod.rs:217
Function
test_default_roundtrip
()
crates/configs/src/autopilot/native_price.rs:127
Function
test_deserialization
()
crates/shared/src/token_list.rs:188
Function
test_deserialize_from_str
()
crates/chain/src/lib.rs:241
Function
test_deserialize_from_u64
()
crates/chain/src/lib.rs:224
Function
test_determining_end_of_paginated_results
()
crates/liquidity-sources/src/zeroex.rs:522
Function
test_ecdsa_signature_recovery
()
crates/model/src/signature.rs:634
Function
test_estimate_amount
()
crates/solvers/src/boundary/routing.rs:277
Function
test_estimate_amount_invalid_pool
()
crates/solvers/src/boundary/routing.rs:411
Function
test_estimate_amount_multiple_pools
()
crates/solvers/src/boundary/routing.rs:349
Function
test_estimate_amount_returns_none_if_it_contains_pair_without_pool
()
crates/solvers/src/boundary/routing.rs:249
Function
test_estimate_sell_amount_returns_none_buying_too_much
()
crates/solvers/src/boundary/routing.rs:318
Function
test_eth_buy_matches_wrapped_native_token_bucket
()
crates/shared/src/fee.rs:445
← previous
next →
9,701–9,800 of 10,747, ranked by callers