19 lines
491 B
Solidity
19 lines
491 B
Solidity
pragma solidity ^0.5.0;
|
|
|
|
import "../access/roles/PauserRole.sol";
|
|
|
|
contract PauserRoleMock is PauserRole {
|
|
function removePauser(address account) public {
|
|
_removePauser(account);
|
|
}
|
|
|
|
function onlyPauserMock() public view onlyPauser {
|
|
// solhint-disable-previous-line no-empty-blocks
|
|
}
|
|
|
|
// Causes a compilation error if super._removePauser is not internal
|
|
function _removePauser(address account) internal {
|
|
super._removePauser(account);
|
|
}
|
|
}
|