Skip to main content

IPermissions

Functions

createRole

function createRole(
bytes32 role,
bytes32 adminRole
) external

Parameters

NameTypeDescription
rolebytes32
adminRolebytes32

grantMinter

function grantMinter(
address minter
) external

Parameters

NameTypeDescription
minteraddress

grantBurner

function grantBurner(
address burner
) external

Parameters

NameTypeDescription
burneraddress

grantPCVController

function grantPCVController(
address pcvController
) external

Parameters

NameTypeDescription
pcvControlleraddress

grantGovernor

function grantGovernor(
address governor
) external

Parameters

NameTypeDescription
governoraddress

grantGuardian

function grantGuardian(
address guardian
) external

Parameters

NameTypeDescription
guardianaddress

revokeMinter

function revokeMinter(
address minter
) external

Parameters

NameTypeDescription
minteraddress

revokeBurner

function revokeBurner(
address burner
) external

Parameters

NameTypeDescription
burneraddress

revokePCVController

function revokePCVController(
address pcvController
) external

Parameters

NameTypeDescription
pcvControlleraddress

revokeGovernor

function revokeGovernor(
address governor
) external

Parameters

NameTypeDescription
governoraddress

revokeGuardian

function revokeGuardian(
address guardian
) external

Parameters

NameTypeDescription
guardianaddress

revokeOverride

function revokeOverride(
bytes32 role,
address account
) external

Parameters

NameTypeDescription
rolebytes32
accountaddress

GUARDIAN_ROLE

function GUARDIAN_ROLE() external returns (bytes32)

GOVERN_ROLE

function GOVERN_ROLE() external returns (bytes32)

BURNER_ROLE

function BURNER_ROLE() external returns (bytes32)

MINTER_ROLE

function MINTER_ROLE() external returns (bytes32)

PCV_CONTROLLER_ROLE

function PCV_CONTROLLER_ROLE() external returns (bytes32)