We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i think it's worth changing some names to increase readability
(plcr) function isPassed -> majorityBlocVotedFor
function isPassed
majorityBlocVotedFor
true
(tcr) uint rewardPool -> majorityBlocRewardPct
uint rewardPool
majorityBlocRewardPct
msg.sender
claimReward
(plcr) function getTotalNumberOfTokensForWinningOption -> getTotalMajorityBlocNumTokens
function getTotalNumberOfTokensForWinningOption
getTotalMajorityBlocNumTokens
votesFor
votesAgainst
(tcr) uint totalTokens -> totalMajorityBlocNumTokens
uint totalTokens
totalMajorityBlocNumTokens
voting.getTotalNumberOfTokensForWinningOption
(plcr) function getNumPassingTokens -> getWinningVoterNumTokens
function getNumPassingTokens
getWinningVoterNumTokens
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i think it's worth changing some names to increase readability
majority bloc - group of voters who voted the majority rule
(plcr)
function isPassed
->majorityBlocVotedFor
true
if the applicant won a challenge(tcr)
uint rewardPool
->majorityBlocRewardPct
msg.sender
onceclaimReward
is called(plcr)
function getTotalNumberOfTokensForWinningOption
->getTotalMajorityBlocNumTokens
votesFor
orvotesAgainst
(whichever is greater)(tcr)
uint totalTokens
->totalMajorityBlocNumTokens
voting.getTotalNumberOfTokensForWinningOption
-- either thevotesFor
orvotesAgainst
(whichever is greater)winning voter - single voter who voted in the majority rule
(plcr)
function getNumPassingTokens
->getWinningVoterNumTokens
The text was updated successfully, but these errors were encountered: