PLCRVotingCheckpointStorage.sol

View Source: contracts/modules/Checkpoint/Voting/PLCR/PLCRVotingCheckpointStorage.sol

↘ Derived Contracts: PLCRVotingCheckpoint, PLCRVotingCheckpointProxy

PLCRVotingCheckpointStorage

Enums

Stage

enum Stage {
 PREP,
 COMMIT,
 REVEAL,
 RESOLVED
}

Structs

Ballot

struct Ballot {
 uint256 checkpointId,
 uint256 quorum,
 uint64 commitDuration,
 uint64 revealDuration,
 uint64 startTime,
 uint24 totalProposals,
 uint32 totalVoters,
 bool isActive,
 mapping(uint256 => uint256) proposalToVotes,
 mapping(address => struct PLCRVotingCheckpointStorage.Vote) investorToProposal,
 mapping(address => bool) exemptedVoters
}

Vote

struct Vote {
 uint256 voteOption,
 bytes32 secretVote
}

Contract Members

Constants & Variables

struct PLCRVotingCheckpointStorage.Ballot[] internal ballots;

Functions

Last updated