-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement MaxSupply #1319
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1319 +/- ##
==========================================
- Coverage 52.09% 52.09% -0.01%
==========================================
Files 69 69
Lines 6816 6828 +12
==========================================
+ Hits 3551 3557 +6
- Misses 2988 2992 +4
- Partials 277 279 +2
|
Note: this will stay draft while we decide if Edit: R4R - keeping the simple version for v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use share value with a minimum total collateral to trigger the limitation (can be hardcoded in v3 as 500k I would say - in other words, the MaxSupply check will be triggered only if TotalAllSuply is >= 500k USD)
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following our discussion, we won't use that functionality. We can:
- leave this PR in draft
- or merge and add appropriate comments in the code
Do as you prefer.
Description
This implements one of the token safety parameters on the leverage checklist.
closes: #1227
Author Checklist
!
to the type prefix if API or client breaking changeCHANGELOG.md