forked from Uniswap/v2-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First test for the best trade router * Share the array in the recursion * Comment * Add comparator methods and more tests * Fix the equalTo method on the fraction * add a todo, rename `n` * Best trade exact out, more tests * Faster sorted insert * Comment fix * Handle insufficient reserves and input amount errors * Test improvements, export best trade options * Improvements to fraction, make inputOutputAmount reusable * Make comparator more reusable
- Loading branch information
1 parent
8c7fb08
commit 22453c0
Showing
6 changed files
with
566 additions
and
3 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
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
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.