Skip to content

Commit

Permalink
feat: add setRoleAdmin to AccessControl interface
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcoindev committed Jan 18, 2024
1 parent b94c038 commit af98c9f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/contracts/src/dollar/interfaces/IAccessControl.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ interface IAccessControl {
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);

/**
* @notice Sets admin role for a given role
* @param role Role to set
* @return adminRole Admin role to set for a provided role
*/
function setRoleAdmin(bytes32 role, bytes32 adminRole) external;

/**
* @notice Assigns role to a given account
* @param role Role to assign
Expand Down

0 comments on commit af98c9f

Please sign in to comment.