ProposalVote
Per-proposal vote tallies and per-voter tracking.
struct ProposalVote {
/// @dev Cumulative Against votes.
uint256 againstVotes;
/// @dev Cumulative For votes.
uint256 forVotes;
/// @dev Cumulative Abstain votes.
uint256 abstainVotes;
/// @dev Tracks whether each voter has already cast a vote.
mapping(address voter => bool) hasVoted;
}Properties
| Name | Type | Description |
|---|---|---|
| againstVotes | uint256 | |
| forVotes | uint256 | |
| abstainVotes | uint256 | |
| hasVoted | mapping(address voter => bool) |