AdminRole mixin exposes critical functions without any restrictions like grantAdmin() revokeAdmin()
Criticial functions like grantAdmin() can be externally accessed changing the critical roles like admin.
// for eg:
function grantAdmin(address account) external {
grantRole(DEFAULT_ADMIN_ROLE, account);
}
The text was updated successfully, but these errors were encountered:
All reactions