MinterRoleMock.sol 491 B

123456789101112131415161718
  1. pragma solidity ^0.5.0;
  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. // solhint-disable-previous-line no-empty-blocks
  9. }
  10. // Causes a compilation error if super._removeMinter is not internal
  11. function _removeMinter(address account) internal {
  12. super._removeMinter(account);
  13. }
  14. }