This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
feat: add router trade adapter #168
Merged
Merged
Changes from 9 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
56b728a
initial commit - copy from external api
zhongeric 4450fbe
Add constants and wire up test
zhongeric 2188791
fix tests
zhongeric 9ee7f74
Add v2 tests
zhongeric 2b4ffea
yarn prettier
zhongeric 2c7987b
comments
zhongeric 55a164a
.only
zhongeric 9d0d485
Allow for payer as User as swapoptions
zhongeric 31ef4c5
bump major
zhongeric 265f327
prettier fix
zhongeric 08d841a
back down to jsbi 3.1.4
zhongeric 483a474
v2-sdk to 4.3.0
zhongeric f3bf8ed
Fix version to major and fix imorts
zhongeric 903f200
Merge branch 'main' into feat-router-trade-adapter
zhongeric 86bbe6e
Support 0xeee...eee for ether for trading api compatability
zhongeric 8520508
Add split route test
zhongeric cae3f30
Address comments
zhongeric 000fa6b
Add exact out, multi hop, split route tests
zhongeric ee0376d
prettier
zhongeric 8ebb18f
Add helper func
zhongeric 1c2b538
Remove local native currency
zhongeric c65b595
Add error handling tests
zhongeric d6c433c
Remove weth mapping
zhongeric 384a553
fix mixed routes test
zhongeric b42f0f3
fix imports
zhongeric 8766773
prettier
zhongeric 02eedd7
Fix comments
zhongeric 8e6ee01
prettier fix
zhongeric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR also allows for the overriding of payerIsUser within SwapOptions. This is intended to be fully backward compatible - in that the default value is true if not specified.