Skip to content
Lattice

GovernedVaultStorage

Git Source

ERC-7201 namespaced storage unique to the self-governed vault: the governor ballot-nonce namespace, kept SEPARATE from the ERC-20 delegation nonce (which lives in NoncesLib).

Note:

  • storage-location: erc7201:lattice.storage.GovernedVault
struct GovernedVaultStorage {
    /// @notice voter => next unused governor-ballot nonce (consumed by `castVoteBySig`). APPEND-ONLY.
    mapping(address voter => uint256 nonce) _ballotNonces;
}

Properties

NameTypeDescription
_ballotNoncesmapping(address voter => uint256 nonce)