You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2026. It is now read-only.
i think it's worth changing some names to increase readability
majority bloc - group of voters who voted the majority rule
(plcr)
function isPassed->majorityBlocVotedFortrueif the applicant won a challenge(tcr)
uint rewardPool->majorityBlocRewardPctmsg.senderonceclaimRewardis called(plcr)
function getTotalNumberOfTokensForWinningOption->getTotalMajorityBlocNumTokensvotesFororvotesAgainst(whichever is greater)(tcr)
uint totalTokens->totalMajorityBlocNumTokensvoting.getTotalNumberOfTokensForWinningOption-- either thevotesFororvotesAgainst(whichever is greater)winning voter - single voter who voted in the majority rule
(plcr)
function getNumPassingTokens->getWinningVoterNumTokens