Access Control
Role Management:
Offers a structured role management system to grant, check, or revoke roles to/from accounts.
Ensures only authorised accounts can perform sensitive operations.
Ownership Management:
Provides mechanisms for transferring vault ownership, which is primarily intended for emergency scenarios, thereby enhancing control flexibility. Note: Transferring ownership disables the cross-chain functionality, and as a result, the vault ceases to execute cross-chain messages from its counterpart on other networks. Therefore, the
ownershipTransfer
function should not be used as a 'grant' action but rather reserved as an 'emergency save' action to preserve the funds.
Last updated