Skip to main content

DiamondERC165

Overview​

License: MIT​

contract DiamondERC165 is ERC165

The Diamond standard module

DiamondERC165 - Contract implementing ERC165 interface for Diamonds

Functions info​

supportsInterface (0x01ffc9a7)​

function supportsInterface(
bytes4 interfaceId_
) public view virtual override returns (bool)

The function to check whether the Diamond supports the interface

Parameters:

NameTypeDescription
interfaceId_bytes4the interface to check

Return values:

NameTypeDescription
[0]booltrue if the interface is supported, false otherwise