-
Notifications
You must be signed in to change notification settings - Fork 0
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
TGE Contracts #85
TGE Contracts #85
Conversation
a73c8c7
to
21216c7
Compare
} | ||
|
||
// Burn the equivalent amount of tokens for the missed weeks | ||
uint256 amountToBurn = Math.min(WEEKLY_CLAIM_AMOUNT * weeksMissed, user.amountOwed); |
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.
weeksMissed
here can be higher than MAX_CLAIM_WEEKS
. Is it supposed to or should it be ceiled to 96?
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.
the logic is correct, if the user claims after MAX_CLAIM_WEEKS + 10
, then more tokens should be burned than if it was claimed at the MAX_CLAIM_WEEKS
Description of the scope of this work: https://talentprotocol.notion.site/Smart-Contracts-Audit-pre-TGE-0d27d984bc3c4dabaf49db3c31013c8b?pvs=4