FxRoleRegistry

Git Source

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

NameTypeDescription
_rolebytes32Hash of the role name