* Adding solhint, working on style fixes. * Upgraded to solhint 1.5.0. * Removed all references to Solium * Updated mocks to make the pass the new linter rules. * Reformatted the .solhint.json file a bit. * Removed Solium configuration files. * Remove Solium dependency. * Add comment explaing disabled time rule in TokenVesting. * Revert to the old (ugly?) style. * Revert SignatureBouncerMock style. * Fix ERC165InterfacesSupported interface.
19 lines
571 B
Solidity
19 lines
571 B
Solidity
pragma solidity ^0.5.0;
|
|
|
|
import "../access/roles/WhitelistAdminRole.sol";
|
|
|
|
contract WhitelistAdminRoleMock is WhitelistAdminRole {
|
|
function removeWhitelistAdmin(address account) public {
|
|
_removeWhitelistAdmin(account);
|
|
}
|
|
|
|
function onlyWhitelistAdminMock() public view onlyWhitelistAdmin {
|
|
// solhint-disable-previous-line no-empty-blocks
|
|
}
|
|
|
|
// Causes a compilation error if super._removeWhitelistAdmin is not internal
|
|
function _removeWhitelistAdmin(address account) internal {
|
|
super._removeWhitelistAdmin(account);
|
|
}
|
|
}
|