Update documentation in IAccessControl (#4924)
Co-authored-by: Ernesto García <ernestognw@gmail.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -30,8 +30,8 @@ interface IAccessControl {
|
||||
/**
|
||||
* @dev Emitted when `account` is granted `role`.
|
||||
*
|
||||
* `sender` is the account that originated the contract call, an admin role
|
||||
* bearer except when using {AccessControl-_setupRole}.
|
||||
* `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).
|
||||
* Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
|
||||
*/
|
||||
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user