PauserRoleMock.sol 491 B

123456789101112131415161718
  1. pragma solidity ^0.5.0;
  2. import "../access/roles/PauserRole.sol";
  3. contract PauserRoleMock is PauserRole {
  4. function removePauser(address account) public {
  5. _removePauser(account);
  6. }
  7. function onlyPauserMock() public view onlyPauser {
  8. // solhint-disable-previous-line no-empty-blocks
  9. }
  10. // Causes a compilation error if super._removePauser is not internal
  11. function _removePauser(address account) internal {
  12. super._removePauser(account);
  13. }
  14. }