Explorar o código

Update documentation in IAccessControl (#4924)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
devant hai 1 ano
pai
achega
0a3f880753
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      contracts/access/IAccessControl.sol

+ 2 - 2
contracts/access/IAccessControl.sol

@@ -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);