You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
421 B
17 lines
421 B
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../access/AccessControl.sol";
|
|
|
|
contract AccessControlMock is AccessControl {
|
|
constructor() {
|
|
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
|
|
}
|
|
|
|
function setRoleAdmin(bytes32 roleId, bytes32 adminRoleId) public {
|
|
_setRoleAdmin(roleId, adminRoleId);
|
|
}
|
|
|
|
function senderProtected(bytes32 roleId) public onlyRole(roleId) {}
|
|
}
|
|
|