MellowACL
Purpose
Responsibilities
Storage Layout
struct MellowACLStorage {
EnumerableSet.Bytes32Set supportedRoles;
}SlotLibrary.getSlot("MellowACL", name_, version_)View Functions
supportedRoles() → uint256
supportedRoles() → uint256supportedRoleAt(index: uint256) → bytes32
supportedRoleAt(index: uint256) → bytes32hasSupportedRole(role: bytes32) → bool
hasSupportedRole(role: bytes32) → boolInternal Logic
_grantRole(role: bytes32, account: address) → bool
_grantRole(role: bytes32, account: address) → bool_revokeRole(role: bytes32, account: address) → bool
_revokeRole(role: bytes32, account: address) → bool