-
Notifications
You must be signed in to change notification settings - Fork 15
comment stakes needed to preboost/unpreboost #416
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
Conversation
src/proposal.ts
Outdated
| * | ||
| * The equation is derived from: threshold = (stakesFor + upstakeNeededToPreBoost) / stakesAgainst | ||
| * | ||
| * >= 0 : any number of up-staking tokens greater than this will qualify to move the proposal |
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.
I do not really get what "this" denotes in these lines. What is >=0 ?
I'd just remove them: I think the line above ("the number of up-stsakeing tokens needed to qualify...") explains it pretty well already.
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.
I clarified the comments. A lot easier this way.
src/proposal.ts
Outdated
| * | ||
| * The equation is derived from: threshold = stakesFor / (stakesAgainst + downStakeNeededToQueue) | ||
| * | ||
| * > 0 : any number of down-staking tokens greater-than-or-equal to this will qualify to move the proposal |
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.
same comment as above :-)
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.
I clarified the comments. I think they provide more info than is readily available by thinking about the equations.
@jellegerbrandy , can you please review the accuracy of the comments I am proposing here?