PrivateVotingStorage
ERC-7201 namespaced storage for the PrivateVoting module.
APPEND-ONLY: new fields may only be added at the end to preserve the upgrade-safe layout.
Note:
- storage-location: erc7201:lattice.storage.PrivateVoting
struct PrivateVotingStorage {
/// @dev poll id (1-based) => poll.
mapping(uint256 pollId => Poll poll) _polls;
/// @dev number of polls created.
uint256 _pollCount;
}Properties
| Name | Type | Description |
|---|---|---|
| _polls | mapping(uint256 pollId => Poll poll) | |
| _pollCount | uint256 |