* 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.
20 lines
601 B
Solidity
20 lines
601 B
Solidity
pragma solidity ^0.5.2;
|
|
|
|
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);
|
|
}
|
|
}
|