-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds an `openPair` function * Removes some outdated comments * Added governance fees to the mint function * Updated the implementation of `HyperdrivePair` * Updated the `mint` logic and wired it up * Added unit test cases for the `mint` function * Adds comprehensive unit tests for the mint function * Adds a `minOutput` parameter to `mint` * Wrote a comprehensive integration test suite for the `mint` function * Started implementing `burn` * Made some targeted fixes to `mint` * Added zombie interest to the `burn` flow and cleaned up `HyperdrivePair` * Started adding a test suite for the `burn` function * Added the remaining test cases. Some of them are broken. * Fixed the remaining `burn` unit tests * Added an integration test suite for `burn` * Bumping solidity version of mint to match rest of repo (#1235) * Added tests for zombie interest for `mint` and `burn` * Added more integration tests for `mint` and `burn` * Added a negative interest test for `mint` * Addressed review feedback from @Sean329 * Committed incremental progress * Added more `mint` and `burn` related cases to the `InstanceTest` suite * Fixed the failing `test_burn_with_base` tests * Added another instance test and got all of the tests working * Uncommented and fixed another test * Uncommented the remaining test * Fixed the code size issue * Removed fixmes -- the investigation showed that the calculations worked correctly * Fixed some of the CI jobs * Fixed the LPWithdrawal tests * Attempted to fix the code coverage job * Removed the code coverage badge * Fixed a rare issue in the fixed point math tests --------- Co-authored-by: Sheng Lundquist <[email protected]>
- Loading branch information
1 parent
0a80019
commit 715e438
Showing
72 changed files
with
5,133 additions
and
60 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
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
Oops, something went wrong.