Skip to main content

IERC165

View Source: contracts/interfaces/IERC165.sol

↘ Derived Contracts: IERC1155, IERC2981, IERC721, ITwinToken

IERC165

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

NameTypeDescription
interfaceIdbytes4

Returns

bool