mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/mocks/ERC165CheckerMock.sol

32 lines
613 B

pragma solidity ^0.4.24;
import "../introspection/ERC165Checker.sol";
contract ERC165CheckerMock {
using ERC165Checker for address;
function supportsERC165(address _address)
public
view
returns (bool)
{
return _address.supportsERC165();
}
function supportsInterface(address _address, bytes4 _interfaceId)
public
view
returns (bool)
{
return _address.supportsInterface(_interfaceId);
}
function supportsInterfaces(address _address, bytes4[] _interfaceIds)
public
view
returns (bool)
{
return _address.supportsInterfaces(_interfaceIds);
}
}