-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Compound supply cap #95
base: master
Are you sure you want to change the base?
Conversation
* Add supply cap check to mintAllowed. * Use internal cash for getCashPrior. * Add gulp to absorb excess cash into reserves.
df01fa5
to
070077a
Compare
After using hardhat to test cToken upgrade, we found that putting |
Thanks for looking into this @bun919tw. Good catch on the storage issue—I have addressed it in the branch where I wrote the original supply cap code. Additionally, I separated the supply cap code from |
070077a
to
8df8aa6
Compare
8df8aa6
to
30cd8ed
Compare
Hi @arr00 , |
Implement supply cap mechanism.
Credits to @arr00 from Compound and Stanley from Cream.