Skip to main content

RestrictedPermissions

Functions

constructor

function constructor(
contract IPermissionsRead _core
) public

Parameters

NameTypeDescription
_corecontract IPermissionsRead

isMinter

function isMinter(
address _address
) external returns (bool)

checks if address is a minter

Parameters

NameTypeDescription
_addressaddressaddress to check

Return Values

NameTypeDescription
[0]booltrue _address is a minter

isGuardian

function isGuardian(
address _address
) public returns (bool)

checks if address is a guardian

Parameters

NameTypeDescription
_addressaddressaddress to check

Return Values

NameTypeDescription
[0]booltrue _address is a guardian

isGovernor

function isGovernor(
address
) external returns (bool)

returns false rather than reverting so calls to onlyGuardianOrGovernor don't revert

Parameters

NameTypeDescription
``address

isPCVController

function isPCVController(
address
) external returns (bool)

Parameters

NameTypeDescription
``address

isBurner

function isBurner(
address
) external returns (bool)

Parameters

NameTypeDescription
``address