-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDK: all quotes, Query modifications (#1716)
* Add `modifyDeadline()` for Query * Add `applySlippage()` for Query * Add `allBridgeQuotes` * Add tests for `allBridgeQuotes` * Sort `allBridgeQuotes` by amountOut * Simplify `bridgeQuote()` * Add `applySlippageInBips` * Expose "apply slippage" funcs * Add tests for "apply slippage" not modifying the passed object * Fix: don't modify `query` in test setups
- Loading branch information
1 parent
225e70a
commit b5bf2b5
Showing
6 changed files
with
499 additions
and
37 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
Oops, something went wrong.