Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Redundant token_to_amount is removed from multi_route_swap function #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/AVNUExchange.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func multi_route_swap{
token_from_address: felt,
token_from_amount: Uint256,
token_to_address: felt,
token_to_amount: Uint256,
token_to_min_amount: Uint256,
beneficiary: felt,
integrator_fee_amount_bps: felt,
Expand Down
4 changes: 0 additions & 4 deletions tests/AVNUExchange_test.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace IAVNUExchange {
token_from_address: felt,
token_from_amount: Uint256,
token_to_address: felt,
token_to_amount: Uint256,
token_to_min_amount: Uint256,
beneficiary: felt,
integrator_fee_amount_bps: felt,
Expand Down Expand Up @@ -211,7 +210,6 @@ func test__multi_route_swap__should_succeed__when_1_route{
token_from_amount,
token_to_address,
token_to_min_amount,
token_to_min_amount,
0x1,
0,
0,
Expand Down Expand Up @@ -258,7 +256,6 @@ func test__multi_route_swap__should_succeed__when_2_routes{
token_from_amount,
token_to_address,
token_to_min_amount,
token_to_min_amount,
0x1,
0,
0,
Expand Down Expand Up @@ -321,7 +318,6 @@ func test__multi_route_swap__should_succeed__when_10_routes{
token_from_amount,
token_to_address,
token_to_min_amount,
token_to_min_amount,
0x1,
0,
0,
Expand Down