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
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:387
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:168
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
Function
test_eth_receivability_filtering
(#[case] owner: Address, #[case] can_receive: bool)
crates/refunder/src/refund_service.rs:376
Function
test_ethflow_contract_filtering
(#[case] contract: Address)
crates/refunder/src/refund_service.rs:407
Function
test_execute_same_sell_and_buy_native_token
(web3: Web3)
crates/e2e/tests/e2e/submission.rs:443
Function
test_execute_same_sell_and_buy_native_token_buy_order
Native-equivalent same-token **Buy** order (sell WETH, buy native ETH via `BUY_ETH_ADDRESS`), mirroring `test_execute_same_sell_and_buy_native_token`
crates/e2e/tests/e2e/submission.rs:639
Function
test_execute_same_sell_and_buy_token
(web3: Web3)
crates/e2e/tests/e2e/submission.rs:279
Function
test_execute_with_back_off
()
crates/rate-limit/src/lib.rs:341
Function
test_execute_with_no_back_off
()
crates/rate-limit/src/lib.rs:318
Function
test_extract_order_data_from_onchain_order_placement_event
()
crates/autopilot/src/database/onchain_order_events/mod.rs:904
Function
test_extract_rfq_id_from_valid_settle_single_call
()
crates/driver/src/infra/notify/liquidity_sources/liquorice/notifier.rs:172
Function
test_field_override
()
crates/e2e/src/setup/colocation/utils/toml.rs:52
Function
test_for_user
()
crates/account-balances/src/simulation.rs:165
Function
test_full_balance_check
Tests that when order is placed with full balance checks, it would not be possible to place it, unless the account has both - sufficient allowance and
crates/e2e/tests/e2e/uncovered_order.rs:104
Function
test_get_amounts_in
()
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:452
Function
test_get_amounts_out
()
crates/liquidity-sources/src/uniswap_v2/pool_fetching.rs:394
Function
test_get_orders
()
crates/liquidity-sources/src/zeroex.rs:499
Function
test_get_orders_paginated_with_empty_result
()
crates/liquidity-sources/src/zeroex.rs:508
Function
test_get_partner_fee_empty
()
crates/autopilot/src/domain/fee/mod.rs:448
Function
test_get_partner_fee_single_capped
()
crates/autopilot/src/domain/fee/mod.rs:567
Function
test_get_partner_fee_valid_multiple_fees_not_capped
()
crates/autopilot/src/domain/fee/mod.rs:398
Function
test_get_partner_fee_zero_bps
()
crates/autopilot/src/domain/fee/mod.rs:478
Function
test_get_partner_fee_zero_cap
()
crates/autopilot/src/domain/fee/mod.rs:518
Function
test_get_three_partner_fees_capped
()
crates/autopilot/src/domain/fee/mod.rs:659
Function
test_get_two_partner_fees_capped
()
crates/autopilot/src/domain/fee/mod.rs:607
Function
test_heuristic_before_direct_slot_fallback
()
crates/balance-overrides/src/approval/mod.rs:599
Function
test_https
()
crates/ethrpc/src/lib.rs:136
Function
test_identify_empty_input
()
crates/refunder/src/refund_service.rs:875
Function
test_identify_groups_orders_by_contract
()
crates/refunder/src/refund_service.rs:855
Function
test_input_price
()
crates/driver/src/domain/competition/solution/slippage.rs:120
Function
test_json_matches_excluding_failure
()
crates/testlib/src/json_matching.rs:269
Function
test_json_matches_excluding_key_is_missing
()
crates/testlib/src/json_matching.rs:312
Function
test_json_matches_excluding_key_is_missing_reversed
()
crates/testlib/src/json_matching.rs:354
Function
test_json_matches_excluding_no_exclusions
()
crates/testlib/src/json_matching.rs:202
Function
test_json_matches_excluding_with_exclusions
()
crates/testlib/src/json_matching.rs:223
Function
test_just_enough_funded
()
crates/driver/src/tests/cases/solver_balance.rs:31
Function
test_mixed_eth_receivability_multiple_owners
()
crates/refunder/src/refund_service.rs:969
Function
test_multiple_status_query_failures
()
crates/refunder/src/refund_service.rs:1010
Function
test_next_block
()
crates/ethrpc/src/block_stream.rs:438
Method
test_no_drivers
This function *does not* return a valid configuration! It is rather useful for tests where drivers are setup separately or not actually used (like the
crates/configs/src/autopilot/mod.rs:237
Function
test_no_price
()
crates/driver/src/domain/competition/solution/slippage.rs:252
Function
test_no_volume_fee_leaves_the_quote_unchanged
()
crates/orderbook/src/quoter.rs:730
Function
test_node_error
()
crates/ethrpc/src/alloy/errors.rs:141
Function
test_non_refundable_status_excludes_order
(#[case] status: Option<RefundStatus>)
crates/refunder/src/refund_service.rs:427
Function
test_order_hash_extraction_from_uid
()
crates/refunder/src/refund_service.rs:890
Function
test_output_price
()
crates/driver/src/domain/competition/solution/slippage.rs:186
Function
test_parallel_settlement_submission
(web3: Web3)
crates/e2e/tests/e2e/parallel_settlement.rs:40
Function
test_parse_field_paths
()
crates/testlib/src/json_matching.rs:191
Function
test_path_candidates
()
crates/liquidity-sources/src/base_tokens.rs:148
Function
test_problematic_sepolia_address
Run with: cargo test --package refunder --lib test_problematic_sepolia_address -- --ignored
crates/refunder/src/refund_service.rs:1045
Function
test_ratio_to_u32
()
crates/solver/src/liquidity/uniswap_v3.rs:144
Function
test_retaining_valid_orders
()
crates/liquidity-sources/src/zeroex.rs:547
Function
test_returns_none_for_arbitrary_call
()
crates/driver/src/infra/notify/liquidity_sources/liquorice/notifier.rs:189
Function
test_returns_none_for_different_target
()
crates/driver/src/infra/notify/liquidity_sources/liquorice/notifier.rs:204
Function
test_same_token_volume_fee_skipped
()
crates/shared/src/fee.rs:490
Function
test_section_override
()
crates/e2e/src/setup/colocation/utils/toml.rs:71
Function
test_send_out_refunding_tx_all_db_calls_fail_still_submits
()
crates/refunder/src/refund_service.rs:673
Function
test_send_out_refunding_tx_calls_submitter
()
crates/refunder/src/refund_service.rs:471
Function
test_send_out_refunding_tx_db_error_skips_order
()
crates/refunder/src/refund_service.rs:602
Function
test_send_out_refunding_tx_empty_map_skips_submission
()
crates/refunder/src/refund_service.rs:500
Function
test_send_out_refunding_tx_error_short_circuits
()
crates/refunder/src/refund_service.rs:722
Function
test_send_out_refunding_tx_multiple_contracts
()
crates/refunder/src/refund_service.rs:559
Function
test_send_out_refunding_tx_order_count_boundary
( #[case] input_count: usize, #[case] expected_count: usize, )
crates/refunder/src/refund_service.rs:527
Function
test_solver_pays_for_pre_hook_on_same_token_order
Use-case test for `SameTokensPolicy::Allow`: a trader submits a same-token Buy** order (sell token == buy token, here WETH -> WETH) whose real purpose
crates/e2e/tests/e2e/submission.rs:845
Function
test_submit_same_sell_and_buy_token_order_without_quote
(web3: Web3)
crates/e2e/tests/e2e/submission.rs:164
Function
test_try_to_refund_empty_db_result
()
crates/refunder/src/refund_service.rs:782
Function
test_try_to_refund_happy_path
()
crates/refunder/src/refund_service.rs:754
Function
test_try_to_refund_mixed_orders
()
crates/refunder/src/refund_service.rs:803
Function
test_unfunded
()
crates/driver/src/tests/cases/solver_balance.rs:12
Function
test_unmatched_slots_become_direct_slot
()
crates/balance-overrides/src/approval/mod.rs:572
Function
test_volume_fee_basis_points_conversion
()
crates/orderbook/src/quoter.rs:678
Function
test_volume_fee_bucket_override
()
crates/shared/src/fee.rs:408
Function
test_volume_fee_buy_order
()
crates/orderbook/src/quoter.rs:603
← previous
next →
9,801–9,900 of 10,776, ranked by callers