Function: grantRole(byte[32] role, address account)
This function is used to grant a role to an account.
Inputs
roleControl: Arbitrary.
Constraints: None.
Impact: Role to grant.
accountControl: Arbitrary.
Constraints: None.
Impact: Address to grant role to.
Branches and code coverage
Intended branches
Invokes the
_grantRolefunction to grant the role.
Negative behavior
Reverts if the caller is not the owner.