forked from shapeshift/lib
-
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.
feat: cowswap executeTrade and getTradeTxs methods (shapeshift#868)
* feat: implements cowswapper skeleton * feat: implements getUsdRate method * fix: review comments * fix: review comments * feat: start implement filterBuyAssetsBySellAssetId and filterAssetIdsBySellable * fix: issues after merge main * fix: review comment * fix: review comments * feat: polish filtering functions and implements getCowSwapMinMax * fix: lint * fix: brackets * feat: add comment * feat: wip cow swap trade quote * feat: implements cow swap quote trade * feat: wip gas price and tests * feat: fee estimate for trade quote * feat: unit tests * feat: implements buildTrade for cowswap * fix: integration issues when used in web * fix: unit test * fix unit tests * feat: implements buildTrade * fix: couple issues with approval * feat: implements executeTrade without signature * wip: signature * feat: order signing wip * fix: merge * fix: previous review comments * feat: wip execute trade * fix: build * fix: naming convention for methods * fix: validTo errors from api * fix: naming conventions * feat: finish implementing execute trade and unit tests * feat: implements getTradeTxs * feat: polish getTradeTxs and add tests * fix: max trade issue and trade fee display issue * feat: commenting * fix: review comments * feat: update hdwallet core dependency * fix: incorrect fees for quote
- Loading branch information
Showing
19 changed files
with
663 additions
and
111 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
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.