MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,747 in github.com/cowprotocol/services

MethodswapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1192
MethodswapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1192
MethodswapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1189
MethodswapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1189
MethodswapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/swaprrouter/src/lib.rs:1189
MethodswapTokensForExactTokens
( data: &[u8], )
contracts/generated/contracts-generated/sushiswaprouter/src/lib.rs:1189
Functionswap_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
Functionswap_buy_all_chains
()
crates/solvers/src/tests/bitget/api_calls.rs:163
Functionswap_buy_disabled
()
crates/solvers/src/tests/bitget/api_calls.rs:249
Functionswap_buy_disabled
()
crates/solvers/src/tests/okx/api_calls.rs:58
Functionswap_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
Functionswap_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
Functionswap_creates_full_state
()
crates/pool-indexer/src/indexer/uniswap_v3.rs:1283
Functionswap_of
(in_amount: u64)
crates/solana-solvers/src/dex/mod.rs:199
Functionswap_sell_all_chains
()
crates/solvers/src/tests/bitget/api_calls.rs:79
Functionswap_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
Functionswap_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
Methodswapr
(chain: Chain)
crates/driver/src/infra/liquidity/config.rs:166
Functionswitches_to_fallback_on_protocol_internal
()
crates/price-estimation/src/native/fallback.rs:251
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4872
Methodsymbol
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4297
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3637
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3257
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/erc20/src/lib.rs:1956
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/weth9/src/lib.rs:2421
Methodsymbol
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5635
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:3964
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4708
Methodsymbol
(data: &[u8])
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3203
Methodsync
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4914
Methodsync
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4750
Methodsync_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
Methodtarget
(data: &[u8])
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1501
Functiontask_terminates_gracefully
()
crates/event-indexing/src/maintenance.rs:277
Methodtenderly
(&self)
crates/simulator/src/simulation_builder.rs:121
Functionterminal_grpc_status_returns_stream_error
()
crates/solana-indexer/src/indexer/ingester/tests.rs:235
Functiontest
()
crates/driver/src/tests/cases/buy_eth.rs:9
Functiontest
()
crates/driver/src/tests/cases/example_config.rs:7
Functiontest
()
crates/solvers/src/tests/cases/partial_fill.rs:7
Functiontest
()
crates/solvers/src/tests/cases/direct_swap.rs:7
Functiontest
(web3: Web3)
crates/e2e/tests/e2e/partial_fill.rs:20
Functiontest
(web3: Web3)
crates/e2e/tests/e2e/eth_safe.rs:19
Functiontest
(web3: Web3)
crates/e2e/tests/e2e/tracking_insufficient_funds.rs:19
Functiontest
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
Functiontest
(web3: Web3)
crates/e2e/tests/e2e/partially_fillable_balance.rs:19
Functiontest
(web3: Web3)
crates/e2e/tests/e2e/partially_fillable_pool.rs:18
Methodtest
(name: &str, address: Address)
crates/configs/src/autopilot/solver.rs:83
Methodtest
(name: &str, solver_address: alloy_primitives::Address)
crates/configs/src/autopilot/mod.rs:272
Methodtest
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
Methodtest
Create a testing rate limiter.
crates/rate-limit/src/lib.rs:130
Functiontest_adjust_quote_to_in_market_buy_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:342
Functiontest_adjust_quote_to_in_market_sell_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:316
Functiontest_adjust_quote_to_out_market_buy_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:290
Functiontest_adjust_quote_to_out_market_sell_order_limits
()
crates/driver/src/domain/competition/solution/fee.rs:265
Functiontest_all_orders_already_refunded
()
crates/refunder/src/refund_service.rs:451
Functiontest_approve
()
crates/driver/src/domain/competition/solution/encoding.rs:481
Functiontest_array_override
()
crates/e2e/src/setup/colocation/utils/toml.rs:116
Functiontest_batch_request_entry_add_element_pop_thrice
()
crates/ethrpc/src/alloy/buffering.rs:584
Functiontest_batch_request_entry_pop_twice
()
crates/ethrpc/src/alloy/buffering.rs:572
Functiontest_blocks_in
()
crates/chain/src/lib.rs:212
Functiontest_bucket_listing_eth_marker_matches_wrapped_native_token
()
crates/shared/src/fee.rs:466
Functiontest_calculate_submission_gas_price
()
crates/refunder/src/submitter.rs:164
Functiontest_cancel_on_expiry
(web3: Web3)
crates/e2e/tests/e2e/submission.rs:66
Functiontest_checked_ceil_div
()
crates/number/src/u256_ext.rs:151
Functiontest_checked_mul_f64
()
crates/number/src/u256_ext.rs:202
Functiontest_contract_address_extraction_from_uid
(#[case] contract: Address)
crates/refunder/src/refund_service.rs:937
Functiontest_contract_error
()
crates/ethrpc/src/alloy/errors.rs:135
Functiontest_convert_onchain_limit_order_placement
()
crates/autopilot/src/database/onchain_order_events/mod.rs:1134
Functiontest_convert_onchain_order_placement_with_non_zero_fee
()
crates/autopilot/src/database/onchain_order_events/mod.rs:1020
Functiontest_convert_to_quote_id_and_user_valid_to
()
crates/autopilot/src/database/onchain_order_events/ethflow_events.rs:302
Functiontest_create2_mainnet
()
crates/liquidity-sources/src/uniswap_v2/pair_provider.rs:44
Functiontest_create_strategies_reverses_order
()
crates/balance-overrides/src/balance/mod.rs:610
Functiontest_create_strategies_with_heuristic_slots_stable
()
crates/balance-overrides/src/balance/mod.rs:660
Functiontest_create_strategies_zero_heuristic_depth
()
crates/balance-overrides/src/balance/mod.rs:727
Functiontest_creation_with_chain_id
()
crates/shared/src/token_list.rs:209
Functiontest_debug_interaction
()
crates/price-estimation/src/trade_finding/mod.rs:385
Methodtest_default
()
crates/configs/src/order_quoting.rs:91
Methodtest_default
()
crates/configs/src/native_price_estimators.rs:51
Methodtest_default
()
crates/configs/src/simulator.rs:132
Methodtest_default
()
crates/configs/src/database.rs:137
Methodtest_default
()
crates/configs/src/balance_cache.rs:58
Methodtest_default
()
crates/configs/src/price_estimation.rs:151
Methodtest_default
()
crates/configs/src/shared.rs:383
Methodtest_default
()
crates/configs/src/autopilot/ethflow.rs:25
Methodtest_default
()
crates/configs/src/autopilot/run_loop.rs:131
Methodtest_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
Methodtest_default
The orderbook forwards native price requests to the autopilot.
crates/configs/src/orderbook/native_price.rs:30
Methodtest_default
()
crates/configs/src/orderbook/mod.rs:217
Functiontest_default_roundtrip
()
crates/configs/src/autopilot/native_price.rs:127
Functiontest_deserialization
()
crates/shared/src/token_list.rs:188
Functiontest_deserialize_from_str
()
crates/chain/src/lib.rs:241
Functiontest_deserialize_from_u64
()
crates/chain/src/lib.rs:224
Functiontest_determining_end_of_paginated_results
()
crates/liquidity-sources/src/zeroex.rs:522
Functiontest_ecdsa_signature_recovery
()
crates/model/src/signature.rs:634
Functiontest_estimate_amount
()
crates/solvers/src/boundary/routing.rs:277
Functiontest_estimate_amount_invalid_pool
()
crates/solvers/src/boundary/routing.rs:411
Functiontest_estimate_amount_multiple_pools
()
crates/solvers/src/boundary/routing.rs:349
Functiontest_estimate_amount_returns_none_if_it_contains_pair_without_pool
()
crates/solvers/src/boundary/routing.rs:249
Functiontest_estimate_sell_amount_returns_none_buying_too_much
()
crates/solvers/src/boundary/routing.rs:318
Functiontest_eth_buy_matches_wrapped_native_token_bucket
()
crates/shared/src/fee.rs:445
← previousnext →9,701–9,800 of 10,747, ranked by callers