Skip to content
Lattice

CommitRevealStorage

Git Source

ERC-7201 namespaced storage for the CommitReveal module.

APPEND-ONLY: new fields may only be added at the end to preserve the upgrade-safe layout.

Note:

  • storage-location: erc7201:lattice.storage.CommitReveal
struct CommitRevealStorage {
    /// @dev commitment hash => its record.
    mapping(bytes32 commitment => ICommitReveal.Commitment record) _commitments;
}

Properties

NameTypeDescription
_commitmentsmapping(bytes32 commitment => ICommitReveal.Commitment record)