Skip to content
Lattice

ERC6538RegistryStorage

Git Source

ERC-7201 namespaced storage for the ERC6538Registry module.

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

Note:

  • storage-location: erc7201:lattice.storage.ERC6538Registry
struct ERC6538RegistryStorage {
    /// @dev registrant address => schemeId => stealth meta-address.
    mapping(address registrant => mapping(uint256 schemeId => bytes stealthMetaAddress)) _stealthMetaAddresses;
    /// @dev registrant address => next nonce for {registerKeysOnBehalf} (registry-local, not the
    ///      diamond-wide Nonces module — matches the canonical ERC-6538 per-registry nonce semantics).
    mapping(address registrant => uint256 nonce) _nonces;
}

Properties

NameTypeDescription
_stealthMetaAddressesmapping(address registrant => mapping(uint256 schemeId => bytes stealthMetaAddress))
_noncesmapping(address registrant => uint256 nonce)