MinterRoleMock.sol 413 B

1234567891011121314151617
  1. pragma solidity ^0.4.24;
  2. import "../access/roles/MinterRole.sol";
  3. contract MinterRoleMock is MinterRole {
  4. function removeMinter(address account) public {
  5. _removeMinter(account);
  6. }
  7. function onlyMinterMock() public view onlyMinter {
  8. }
  9. // Causes a compilation error if super._removeMinter is not internal
  10. function _removeMinter(address account) internal {
  11. super._removeMinter(account);
  12. }
  13. }