22 lines
631 B
Solidity
22 lines
631 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
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);
|
|
}
|
|
}
|