ENSResolverLib Constants
ENS_RESOLVER_STORAGE_SLOT
keccak256(abi.encode(uint256(keccak256("lattice.storage.ENSResolver")) - 1)) & ~bytes32(uint256(0xff)).
Verify with: cast index-erc7201 "lattice.storage.ENSResolver".
bytes32 constant ENS_RESOLVER_STORAGE_SLOT = 0x33f26d8db6499021a25127a427a9f060956987880daa3f7db97807f377225300;ENS_RESOLVER_ERC165_STORAGE_LOCATION
ERC-165 storage location (same across all Lattice modules).
keccak256(abi.encode(uint256(keccak256("diamond.lib.storage.ERC165")) - 1)) & ~bytes32(uint256(0xff)).
bytes32 constant ENS_RESOLVER_ERC165_STORAGE_LOCATION =
0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200;ERC165_MAP_IENSRESOLVER_SLOT
0x566ec67d is type(IENSResolver).interfaceId.
keccak256(abi.encode(bytes4(0x566ec67d), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).
bytes32 constant ERC165_MAP_IENSRESOLVER_SLOT = 0x79535b2b28365a4b28deff1d36dfc239871172c80dcc5e494674d846366975cb;ENS_MANAGER_ROLE
Role allowed to manage the diamond's ENS configuration. Uses the value
keccak256("ENS_MANAGER_ROLE"), intended to be shared with future ENS identity modules.
bytes32 constant ENS_MANAGER_ROLE = keccak256("ENS_MANAGER_ROLE");