* Upgrade to latest solhint rc * Add private-vars-leading-underscore linter rule * Add leading underscore to GSNRecipient constants * Remove leading underscore from ERC165Checker functions * Add leading underscore to multiple private constants * Fix linter errors in mocks * Add leading underscore to ERC777's ERC1820 registry * Add changelog entry
20 lines
598 B
Solidity
20 lines
598 B
Solidity
pragma solidity ^0.6.0;
|
|
|
|
import "../introspection/ERC165Checker.sol";
|
|
|
|
contract ERC165CheckerMock {
|
|
using ERC165Checker for address;
|
|
|
|
function supportsERC165(address account) public view returns (bool) {
|
|
return account.supportsERC165();
|
|
}
|
|
|
|
function supportsInterface(address account, bytes4 interfaceId) public view returns (bool) {
|
|
return account.supportsInterface(interfaceId);
|
|
}
|
|
|
|
function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) public view returns (bool) {
|
|
return account.supportsAllInterfaces(interfaceIds);
|
|
}
|
|
}
|