Last active
May 29, 2022 14:45
-
-
Save chanhosuh/0f78e644e2f72ad205838546557fbb0f to your computer and use it in GitHub Desktop.
Curve emissions end
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
YEAR = 86400 * 365 | |
INITIAL_RATE = 274_815_283 * 10 ** 18 // YEAR | |
RATE_DENOMINATOR = int(1e18) | |
RATE_REDUCTION_COEFFICIENT = 1189207115002721024 # 2 ** (1/4) * 1e18 | |
rate = INITIAL_RATE | |
for i in range(1, 500): | |
rate = rate * RATE_DENOMINATOR // RATE_REDUCTION_COEFFICIENT | |
print(i, rate) | |
if rate == 0: | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spreadsheet (by someone else) that shows running emissions total per year:
https://docs.google.com/spreadsheets/d/1TfipC0nB60sYuU3SonroEs049RnzLElRa5jS8ZN5dqc/edit?usp=sharing