-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic APR calculation to
poolpair-controller
(#323)
* Added basic APR * Fix client tests * PR suggestions * PR suggestions * Fix code smell * PR suggestions * Update packages/whale-api-client/src/api/poolpairs.ts * Add error for non dfi * Refactor code smell Refactor types to be cleaner by referencing instead of declaring Error should not fail but return undefined Should return fractional number not percentages Updated ttl to 60 minutes Co-authored-by: Fuxing Loh <[email protected]> Co-authored-by: Fuxing Loh <[email protected]>
- Loading branch information
1 parent
a1ada0d
commit 042f2b5
Showing
4 changed files
with
100 additions
and
5 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