Tally Votes
At the end of each epoch, the votes cast in that epoch need to tallied to determine the new
desiredEgl
value. This can be called directly by any wallet, or will get called automatically on any vote(...)
or reVote(...)
call if the epoch has ended.function tallyVotes() public whenNotPaused
Validation Rule | Description |
block.timestamp > currentEpochStartDate.add(epochLength) | Epoch must have ended before the votes for that epoch can be tallied |
VoteThresholdMet
(Conditional)VoteThresholdFailed
(Conditional)CreatorRewardsClaimed
(Conditional)VotesTallied
await eglVotingInstance.tallyVotes({ from: "0x2be650ba..."})