Skip to content
Lattice

AccessControlEnumerableLib Constants

Git Source

ACCESS_CONTROL_ENUMERABLE_STORAGE_SLOT

keccak256(abi.encode(uint256(keccak256("lattice.storage.AccessControlEnumerable")) - 1)) & ~bytes32(uint256(0xff)).

bytes32 constant ACCESS_CONTROL_ENUMERABLE_STORAGE_SLOT =
    0xae7c738306b742461a657cbf6c6b56bd5351917d4cf69da559703284f7d34500;

ERC165_MAP_IACCESSCONTROLENUMERABLE_SLOT

0xf92172dc is type(IAccessControlEnumerable).interfaceId. keccak256(abi.encode(bytes4(0xf92172dc), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_IACCESSCONTROLENUMERABLE_SLOT =
    0xdfb0020c4bf380ed4a6e172ee8a12845bb7e78959d456aee21dd4cc4e0a60edf;