ACL
ACL
constructor
constructor() public
Constructor that gets called for the implementation contract.
initialize
function initialize() external
ACL initializer.
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
contractKey
function contractKey() external pure returns (bytes4)
Returns implemented contract key.
Name | Type | Description |
---|---|---|
[0] | bytes4 | Contract key; |
supportsInterface
function supportsInterface(bytes4 interfaceId) public view returns (bool)
_Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.
This function call must use less than 30 000 gas._
_authorizeUpgrade
function _authorizeUpgrade(address newImplementation) internal virtual
_Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by {upgradeTo} and {upgradeToAndCall}.
Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
```solidity function authorizeUpgrade(address) internal override onlyOwner {} ```
_revokeRole
function _revokeRole(bytes32 role, address account) internal virtual
Overload {_revokeRole} to track enumerable memberships
_acl
function _acl() internal view virtual returns (contract IACL)
return the IACL address