-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interrupt-block, stop-block, refactor stats, explicit validity ch…
…ecks (#1261) * Token Lock * Token Split * Fix setting ATTRIBUTES by Gov height * Move loan and collateral token to Gov var * Move FCR to GW * tests: remove redundant line * Set time in attrs when applying by height * Token split support multiple pool and pool created in the block * Migrate all keys on token split * Do not fail when vault has interest but no loan tokens * Return false on error from get internal price * tests: Update error text * Add SetValue and EraseKey to attrs * Add interrupt-block, refactor stats, explicit validity checks * Add interrupt block to lint * Add stop-block, refactor logic, fix lints * Swap order of stop and interrupt * Update init.cpp Co-authored-by: Bushstar <[email protected]>
- Loading branch information
1 parent
b012e65
commit f42eb25
Showing
8 changed files
with
163 additions
and
67 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