-
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.
feat(jellyfish-api-core): DFI Payback of all dTokens (#1190)
* Jellyfish minor updates for DFI Payback of all dTokens #1111 * Added setGov test cases with loan_payback and loan_payback_fee_pct keys * Added paybackloan api extention and a testcase * Added paybackloan a new testcase * Updated fortcanningroadheight * Updated fortcanningroadheight * Updated fortcanningroadheight * Added dusd loan payback using dusd test * Fixed failing gov tests. * Updated account.md with new paybackfees and paybacktokens * Updated PaybackLoanMetadata properly and test updates * Updates for review comments - part 1 (Now burn info is checked) * Updates for review comments - part 2 (burn info check, new test cases and paybackLoan method signature update) * Updates for review comments - part 3 (payback multiple loans at once, new test cases) * Minor fixes for CI test fails and interest calculation * Updates for review comments - part 4 (Payback checking before hardfork and minor updates) * Updates for review comments - part 5 (Now Tsla tokens are not minted) * Added dftx interface for Payback Loan V2 * Updated loan.md with payback loan v2 * Ain image from https://github.com/DeFiCh/ain/actions/runs/2020075855 * Update for dftx loan payback v2 * Added tests for dftx loan payback v2 * Comments update about PaybackLoanV2 Co-authored-by: surangap <[email protected]> * Comments update about TokenPayback.dToken Co-authored-by: surangap <[email protected]> Co-authored-by: surangap <[email protected]>
- Loading branch information
1 parent
18c2389
commit df81748
Showing
19 changed files
with
1,176 additions
and
20 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
800 changes: 792 additions & 8 deletions
800
packages/jellyfish-api-core/__tests__/category/loan/paybackLoan.test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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.