mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/mocks/SignerRoleMock.sol

18 lines
491 B

pragma solidity ^0.5.2;
import "../access/roles/SignerRole.sol";
contract SignerRoleMock is SignerRole {
function removeSigner(address account) public {
_removeSigner(account);
}
function onlySignerMock() public view onlySigner {
// solhint-disable-previous-line no-empty-blocks
}
// Causes a compilation error if super._removeSigner is not internal
function _removeSigner(address account) internal {
super._removeSigner(account);
}
}