Skip to content

IACL

IACL

RolesContractIncorrectlyConfigured

error RolesContractIncorrectlyConfigured()

Thrown when the Admin roles bytes is incorrectly formatted.

CannotRemoveLastAdmin

error CannotRemoveLastAdmin()

Thrown when the attempting to remove the very last admin from ACL.

checkRole

function checkRole(bytes32 role, address account) external view

revert if the `account` does not have the specified role.

Name Type Description
role bytes32 the role specifier.
account address the address to check the role for.

adminRole

function adminRole() external pure returns (bytes32)

Get the admin role describing bytes return role bytes

supervisorRole

function supervisorRole() external pure returns (bytes32)

Get the supervisor role describing bytes return role bytes

listingWizardRole

function listingWizardRole() external pure returns (bytes32)

Get the listing wizard role describing bytes return role bytes

universeWizardRole

function universeWizardRole() external pure returns (bytes32)

Get the universe wizard role describing bytes return role bytes

tokenQuoteSignerRole

function tokenQuoteSignerRole() external pure returns (bytes32)

Get the token quote signer role describing bytes return role bytes