AccessControlLib Constants
ACCESS_CONTROL_STORAGE_SLOT
keccak256(abi.encode(uint256(keccak256("lattice.storage.AccessControl")) - 1)) & ~bytes32(uint256(0xff)).
bytes32 constant ACCESS_CONTROL_STORAGE_SLOT = 0xb914f813e2d49e02dd5aa794466aa4a74f9c100c2b1e98e29e7267020b834d00;ERC165_STORAGE_LOCATION
keccak256(abi.encode(uint256(keccak256("diamond.lib.storage.ERC165")) - 1)) & ~bytes32(uint256(0xff)).
bytes32 constant ERC165_STORAGE_LOCATION = 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200;ERC165_MAP_IACCESSCONTROL_SLOT
0x7965db0b is type(IAccessControl).interfaceId.
keccak256(abi.encode(bytes4(0x7965db0b), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).
bytes32 constant ERC165_MAP_IACCESSCONTROL_SLOT = 0xce317eb1da4e1492e501dc3f63d2206e3e9294a33442f09d99ce09cbbaaeae1f;DEFAULT_ADMIN_ROLE
The default admin role is represented by the zero bytes32 value. This role has the highest level of permissions and is the initial admin for all roles by default. It can grant and revoke any role, including itself, so it should be assigned with caution.
bytes32 constant DEFAULT_ADMIN_ROLE = 0x00;