Skip to content

Commit 0a3f880

Browse files
0xdevanternestognwAmxx
authored
Update documentation in IAccessControl (#4924)
Co-authored-by: Ernesto García <[email protected]> Co-authored-by: Hadrien Croubois <[email protected]>
1 parent 7a29f7d commit 0a3f880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/access/IAccessControl.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ interface IAccessControl {
3030
/**
3131
* @dev Emitted when `account` is granted `role`.
3232
*
33-
* `sender` is the account that originated the contract call, an admin role
34-
* bearer except when using {AccessControl-_setupRole}.
33+
* `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).
34+
* Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
3535
*/
3636
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
3737

0 commit comments

Comments
 (0)