CapperRoleMock.sol 491 B

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