Administrative Operations
Default Admins and Role Admins can assign roles - grantRole(role, account)
- to other wallets or smart contracts. Assigned roles can also be revoked by Default Admin and Role Admins - revokeRole(role, account)
.
Default Admins can transfer the DEFAULT_ADMIN
role - beginDefaultAdminTransfer(newAdmin)
to another wallet or smart contract. To complete the transfer the newAdmin
has to accept the transfer - acceptDefaultAdminTransfer().
For security reasons, each transfer of the Default Admin role is subject to an admin_delay
. This can be changed via the changeDefaultAdminDelay(newDelay)
method.
Updated 4 days ago