PauserRoleMock.sol 435 B

1234567891011121314151617
  1. pragma solidity ^0.4.24;
  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. }
  9. // Causes a compilation error if super._removePauser is not internal
  10. function _removePauser(address account) internal {
  11. super._removePauser(account);
  12. }
  13. }