Module dao::rules::validation::voting
source · Expand description
Groups voting related validations.
Structs§
- Verifies if the
Formal Voting
ended. May return Error::FormalVotingNotCompleted. - Verifies if
Voting
can be created. May return Error::NotOnboarded. - Verifies if the voting can be cancelled. May return Error::FinishingCompletedVotingNotAllowed.
- Verifies if a ballot is cast in the right time. May return Error::InformalVotingNotStarted, Error::VotingDuringTimeBetweenVotingsNotAllowed or Error::VoteOnCompletedVotingNotAllowed.
- Verifies voting is still in progress. May return Error::VotingAlreadyFinished.