Assign a Role
Grant a role to a wallet, allowing it to execute the associated permissions.
Method: grantRole(role, account)
Arguments: role (bytes32) – The role being assigned; account (address) – The wallet receiving the role.
Permissions: DEFAULT_ADMIN_ROLE or ROLE_ADMIN_ROLE (for role-specific assignments).
Events: When called, the method emits a RoleGranted event.
Updated about 1 month ago
