-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trade): fix and test
Trade::from_route
Refactor `amount_with_path_currency` to accept references and use it for handling trades involving wrapped/unwrapped currencies. Add comprehensive tests for various route constructions and trade scenarios involving Ether and WETH.
- Loading branch information
Showing
3 changed files
with
381 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.