-
Notifications
You must be signed in to change notification settings - Fork 1
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: Tracking unlockRates #5
Merged
Merged
Commits on Dec 14, 2023
-
- now it is okay to do for loops from 0.8.22
Configuration menu - View commit details
-
Copy full SHA for ffc6bfe - Browse repository at this point
Copy the full SHA ffc6bfeView commit details -
locked tokens from destroyed to master
- so calculation does not go off, just given back to master
Configuration menu - View commit details
-
Copy full SHA for 3c28c6d - Browse repository at this point
Copy the full SHA 3c28c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d1b1f - Browse repository at this point
Copy the full SHA 06d1b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccde55a - Browse repository at this point
Copy the full SHA ccde55aView commit details -
add array and mapping to track of timestamps
- these for globalLocked calculation
Configuration menu - View commit details
-
Copy full SHA for 861aed0 - Browse repository at this point
Copy the full SHA 861aed0View commit details -
- this will store data necessary to calculate globalLocked by keeping track of unlock rates
Configuration menu - View commit details
-
Copy full SHA for 45d159b - Browse repository at this point
Copy the full SHA 45d159bView commit details -
easier calculation for crateTime and unlockTime
Configuration menu - View commit details
-
Copy full SHA for 5030ea5 - Browse repository at this point
Copy the full SHA 5030ea5View commit details -
- gives back result how many tokens are still locked globally - calculation is based on all rates for unlock timestamps - each timestamp keeps track of its own unlock rate
Configuration menu - View commit details
-
Copy full SHA for 99abe96 - Browse repository at this point
Copy the full SHA 99abe96View commit details -
- so array of available stamps does not inflate too much
Configuration menu - View commit details
-
Copy full SHA for d94db9d - Browse repository at this point
Copy the full SHA d94db9dView commit details -
use globalLocked() to calculate availableSupply
- this way we measure compares to totally unlocked supply - we take total supply and subtract amount still locked
Configuration menu - View commit details
-
Copy full SHA for 6226ab1 - Browse repository at this point
Copy the full SHA 6226ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6808597 - Browse repository at this point
Copy the full SHA 6808597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f53b2b - Browse repository at this point
Copy the full SHA 9f53b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c187be6 - Browse repository at this point
Copy the full SHA c187be6View commit details
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.