-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement best swap route with v4 routes (#680)
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...) feature - **What is the current behavior?** (You can also link to an open issue here) best swap route does not account for v4 routes - **What is the new behavior (if this is a feature change)?** best swap route is now implemented to account for v4 routes. - **Other information**: I added v4 routing integ-test against alpha router, in [alpha-router.integration.test.ts](https://github.com/Uniswap/smart-order-router/pull/680/files#diff-b1a09e5a7156f19225eba6ca4e2e78d0942580ff1118bab472bf0ea3b1294904). I can see the alpha router can quote 1 OP -> 997404.407521 USDC against pool id 0xa40318dea5fabf21971f683f641b54d6d7d86f5b083cd6f0af9332c5c7a9ec06. Tenderly simulation does not work yet, because universal router doesn't support v4 swap commands yet.
- Loading branch information
Showing
15 changed files
with
405 additions
and
122 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
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.