* Bump required compiler version to 0.5.2. * Fix shadowed variable warning in ERC20Migrator. * Rename Counter to Counters. * Add dummy state variable to SafeERC20Helper. * Update changelog entry. * Fix CountersImpl name. * Improve changelog entry.
19 lines
491 B
Solidity
19 lines
491 B
Solidity
pragma solidity ^0.5.2;
|
|
|
|
import "../access/roles/CapperRole.sol";
|
|
|
|
contract CapperRoleMock is CapperRole {
|
|
function removeCapper(address account) public {
|
|
_removeCapper(account);
|
|
}
|
|
|
|
function onlyCapperMock() public view onlyCapper {
|
|
// solhint-disable-previous-line no-empty-blocks
|
|
}
|
|
|
|
// Causes a compilation error if super._removeCapper is not internal
|
|
function _removeCapper(address account) internal {
|
|
super._removeCapper(account);
|
|
}
|
|
}
|