Permissions
Functions
constructor
createRole
creates a new role to be maintained
can also be used to update admin of existing role
Parameters
role
bytes32
the new role id
adminRole
bytes32
the admin role id for role
grantMinter
grants minter role to address
Parameters
minter
address
new minter
grantBurner
grants burner role to address
Parameters
burner
address
new burner
grantPCVController
grants controller role to address
Parameters
pcvController
address
new controller
grantGovernor
grants governor role to address
Parameters
governor
address
new governor
grantGuardian
grants guardian role to address
Parameters
guardian
address
new guardian
revokeMinter
revokes minter role from address
Parameters
minter
address
ex minter
revokeBurner
revokes burner role from address
Parameters
burner
address
ex burner
revokePCVController
revokes pcvController role from address
Parameters
pcvController
address
ex pcvController
revokeGovernor
revokes governor role from address
Parameters
governor
address
ex governor
revokeGuardian
revokes guardian role from address
Parameters
guardian
address
ex guardian
revokeOverride
revokes a role from address
Parameters
role
bytes32
the role to revoke
account
address
the address to revoke the role from
isMinter
checks if address is a minter
Parameters
_address
address
address to check
Return Values
[0]
bool
true _address is a minter
isBurner
checks if address is a burner
Parameters
_address
address
address to check
Return Values
[0]
bool
true _address is a burner
isPCVController
checks if address is a controller
Parameters
_address
address
address to check
Return Values
[0]
bool
true _address is a controller
isGovernor
checks if address is a governor
Parameters
_address
address
address to check
Return Values
[0]
bool
true _address is a governor
isGuardian
checks if address is a guardian
Parameters
_address
address
address to check
Return Values
[0]
bool
true _address is a guardian
_setupGovernor
Parameters
governor
address
Last updated