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
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:236
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
Function
test_volume_fee_buy_order_with_network_fee
()
crates/orderbook/src/quoter.rs:627
Function
test_volume_fee_different_prices
()
crates/orderbook/src/quoter.rs:657
Function
test_volume_fee_sell_order
()
crates/orderbook/src/quoter.rs:577
Function
test_volume_fee_sub_basis_point_precision
()
crates/orderbook/src/quoter.rs:703
Method
test_with_drivers
(drivers: Vec<ExternalSolver>)
crates/configs/src/order_quoting.rs:81
Function
test_zero_heuristic_depth_all_direct_slot
()
crates/balance-overrides/src/approval/mod.rs:632
Function
testing_alloy_contract_error
()
crates/ethrpc/src/alloy/errors.rs:100
Method
testnet_uniswapv2
Returns the liquidity configuration for liquidity sources only used on test networks.
crates/driver/src/infra/liquidity/config.rs:139
Function
the_associated_token_account_address_owes_what_it_lacks
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1631
Function
the_auctions_policies_tighten_the_sent_limit
()
crates/solana-driver/src/infra/solver/dto/auction.rs:535
Function
the_balance_goes_out_in_auction_order
()
crates/solana-driver/src/domain/auction.rs:945
Function
the_best_quote_is_the_best_netted_one
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1386
Function
the_buy_token_account_is_the_recipient_or_its_associated_token_account
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1828
Function
the_cap_bounds_a_run
()
crates/autopilot-svm/src/infra/sponsor.rs:611
Function
the_charge_decides_the_orders_sent_their_limits_and_their_flags
()
crates/solana-driver/src/infra/solver/dto/auction.rs:561
Function
the_competition_keeps_every_quote_best_first
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1450
Function
the_competition_serializes_for_the_log_line
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1509
Function
the_cost_comes_out_of_the_side_the_trader_does_not_fix
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1183
Function
the_creation_leg_mints_delegates_and_creates
()
crates/solana-orderbook/src/infra/verifier.rs:731
Function
the_cut_comes_off_the_limit_leg
()
crates/solana-driver/src/domain/execution_cost.rs:346
Function
the_cut_is_the_rent_and_the_fee_in_the_limit_leg_token
()
crates/solana-driver/src/domain/execution_cost.rs:298
Function
the_cut_moves_the_limit_leg_before_the_fee_tightens_it
()
crates/solana-driver/src/infra/solver/dto/auction.rs:480
Function
the_cut_rounds_up_against_the_trader
()
crates/solana-orderbook/src/infra/api/routes/quote/mod.rs:1207
Function
the_deadline_cuts_a_back_off_short
()
crates/solana-solvers/src/domain/solver/mod.rs:666
Function
the_fee_is_the_price_times_the_limit
()
crates/solana-orderbook/src/infra/api/routes/create_order/mod.rs:1127
Function
the_fee_tightens_the_limit_leg
()
crates/solana-driver/src/infra/solver/dto/auction.rs:390
Function
the_first_holder_holding_the_amount_funds_the_sell
()
crates/solana-orderbook/src/infra/verifier.rs:783
Function
the_first_unsettleable_mint_is_rejected
()
crates/solana-orderbook/src/infra/api/routes/mint.rs:67
Function
the_intent_trades_through_the_owners_associated_accounts
()
crates/solana-token/src/quote.rs:93
← previous
next →
9,801–9,900 of 10,747, ranked by callers