-
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 Farming functionality to Lottery (#1261)
* compile init commit Signed-off-by: Charles Ferrell <charlie@manta.network> * add withdraw logic Signed-off-by: Charles Ferrell <charlie@manta.network> * fix withdrawals Signed-off-by: Charles Ferrell <charlie@manta.network> * add enable farming toggle and add tests Signed-off-by: Charles Ferrell <charlie@manta.network> * add to tests Signed-off-by: Charles Ferrell <charlie@manta.network> * taplo fmt Signed-off-by: Charles Ferrell <charlie@manta.network> * make farming params dynamic via governance Signed-off-by: Charles Ferrell <charlie@manta.network> * tests and refactor lazy static out Signed-off-by: Charles Ferrell <charlie@manta.network> * add to tests Signed-off-by: Charles Ferrell <charlie@manta.network> * add tests for deposit and withdraw edge cases Signed-off-by: Charles Ferrell <charlie@manta.network> * clippy Signed-off-by: Charles Ferrell <charlie@manta.network> * fix tx diff test Signed-off-by: Charles Ferrell <charlie@manta.network> --------- Signed-off-by: Charles Ferrell <charlie@manta.network>
- Loading branch information
1 parent
0d7b8b9
commit d7efd90
Showing
12 changed files
with
952 additions
and
276 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.