Skip to content

Latest commit

 

History

History
201 lines (186 loc) · 6.72 KB

IERC165.md

File metadata and controls

201 lines (186 loc) · 6.72 KB

IERC165.sol

View Source: openzeppelin-solidity/contracts/utils/introspection/IERC165.sol

↘ Derived Contracts: ERC165

IERC165

Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.

Functions

supportsInterface

Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.

function supportsInterface(bytes4 interfaceId) external view
returns(bool)

Arguments

Name Type Description
interfaceId bytes4
Source Code
function supportsInterface(bytes4 interfaceId) external view returns (bool);

Contracts