FxRoleRegistry
Inherits: AccessControl, IFxRoleRegistry
Author: fx(hash)
See the documentation in {IFxRoleRegistry}
Functions
constructor
Initializes registry owner and role admins
constructor(address _admin);
setRoleAdmin
Sets the admin of a new or existing role
function setRoleAdmin(bytes32 _role) external onlyRole(ADMIN_ROLE);
Parameters
Name | Type | Description |
---|---|---|
_role | bytes32 | Hash of the role name |