-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: zap in simulation [WEB-484] (#41)
* feat: added zap in and out functionality * fix: linted * fix: used fast gas price from zapper and slippage passed in * fix: handled slippage undefined better * fix: converted gas price to gwei * fix: renamed to reflect gwei * fix: removed unused import * fix: use zero address if eth is used for zapper * feat: simulated zap in roughly * fix: utilized ZapperService and refactored request functionality * fix: added documentation for simulateZapIn * fix: linted * fix: removed unused imports * fix: merged master * feat: added withdraw simulation * fix: added todo to approval * fix: refactored * fix: fetched prices from oracle * fix: removed comment * fix: removed unnecessary bignumber * chore: format * chore: revert address change in example Co-authored-by: nymmrx <[email protected]>
- Loading branch information
Showing
3 changed files
with
314 additions
and
25 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.