[WIP] Staking#12
Open
borispovod wants to merge 54 commits intomainfrom
Open
Conversation
current tests works
…od for stake, no rewards
Add `get_burn_cap` and `Liquid.move` tests
[WIP] Distribution
APT-235 Added mint, burn and lock_minting scripts to Liquid coin contract
Re-do lock minting functional
some clarity improvements
* Added claim test, but fails with errors * [WIP] Fixes and more tests (#35) * fixed fee scale for x_res,y_res in stable swap * more tests * more router tests * Modified fee calculation in get_coin_in_with_fees function * update test * Rounded up coin_in value * Rounded up coin_in value * more router tests, stable curve rollback * more tests, fixed get_amount_in for stable curve * Optimized curve function * liquidity pool new test * more tests * remove line * more tests * fix test Co-authored-by: Victor Han <sunmoon11@yandex.ru> * feat: add unit testing for add_liquidity fail cases and getter functions (#37) * feat: add unit testing for add_liquidity fail cases and getter functions * feat: add more tests * Added tests for staking * [WIP] Devnet update 04 08 22 (#38) * more router tests * merged with tests and hotfixes * why * update flashloan tests and router tests * small refactoring of account creation * Implemented unchecked swap function (#40) * Implemented unchecked swap function * added stable unchecked tests * Improved comments, optimized swap code Co-authored-by: borispovod <boris@wings.ai> * removed curve mentions as we are using Solidly one formula for stables (#41) * Updated staking till the latest version of Aptos framework and Aptos CLI(0.2.3) * Restored original friend function of checkpoint in distribution.move * Added tests to distribution * Added tests to distribution * Modified test for initialize function. Changed iterable_table to table_with_length. Co-authored-by: Boris Povod <boris@wings.ai> Co-authored-by: gaquarius <88060356+gaquarius@users.noreply.github.com>
# Conflicts: # Move.toml # sources/libs/math.move # sources/libs/stable_curve.move # sources/swap/liquidity_pool.move # tests/coin_helper_tests.move # tests/dao_storage_tests.move # tests/flashloan_tests.move # tests/liquidity_pool_tests.move # tests/router_tests.move # tests/scripts_tests.move
borispovod
commented
Aug 22, 2022
| liquidswap = "0x43417434fd869edee76cca2a4d2301e528a1551b1d719b75c350c3c97d15b8b9" | ||
| dao_admin = "0xb4d7b2466d211c1f4629e8340bb1a9e75e7f8fb38cc145c54c5c9f9d5017a318" | ||
| emergency_admin = "0xb4d7b2466d211c1f4629e8340bb1a9e75e7f8fb38cc145c54c5c9f9d5017a318" | ||
| staking_pool = "0x42" |
Member
Author
There was a problem hiding this comment.
Replace it with 0xb4d7b2466d211c1f4629e8340bb1a9e75e7f8fb38cc145c54c5c9f9d5017a318 address, later we will replace it with real address. Otherwise it wouldn't depoy.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.