Default Admin
DEFAULT_ADMIN_ROLE
DEFAULT_ADMIN_ROLE
Purpose
Holds the highest level of control over the vault. The Default Admin can grant and revoke roles, manage vault settings, and oversee system-wide operations.
Permissions
- All operations permitted to wallets with the DEPOSITOR_ROLE.
- Assign and revoke all roles (
grantRole
,revokeRole
). - Transfer admin rights to another address (
beginDefaultAdminTransfer
,acceptDefaultAdminTransfer
). Transferring the DEFAULT_ADMIN role to a new address is subject to a time delay (defaultAdminDelay
) of 72 hours. - Adjust role settings, including delays (
changeDefaultAdminDelay
).
Relevant Methods
function grantRole(bytes32 role, address account) external;
function revokeRole(bytes32 role, address account) external;
function beginDefaultAdminTransfer(address newAdmin) external;
function acceptDefaultAdminTransfer() external;
function changeDefaultAdminDelay(uint48 newDelay) external;
Updated 4 days ago