-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for fractional token migration (#2204)
* Use CAmount for split amount * Complete fractional merge * Feature guard fractional split * Formatting * Update test * Update error messages and tests * Do not allow fractional splits less than 1 * Remove random. Mint direct to addresses. * Add more fractional split or merge tests * Test pool reserve after migration * Test vault loans after split * Add 64bit OracleSplits * Do not use from_chars, clang does not support it with FP. * Create and validate token migration creation TXs based on type. * Update expected error strings * Template token splits * Changes after merge --------- Co-authored-by: Prasanna Loganathar <[email protected]>
- Loading branch information
1 parent
cd853b6
commit 2dea1cc
Showing
11 changed files
with
1,020 additions
and
235 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
Oops, something went wrong.