Skip to content
Lattice

ChainRegistryStorage

Git Source

ERC-7201 namespaced storage for the chain registry.

Note:

  • storage-location: erc7201:lattice.storage.ChainRegistry
struct ChainRegistryStorage {
    /// @notice chainKey (`keccak256(abi.encodePacked(chainType, chainReference))`) => record. APPEND-ONLY.
    mapping(bytes32 chainKey => ChainRecord record) _chains;
}

Properties

NameTypeDescription
_chainsmapping(bytes32 chainKey => ChainRecord record)