supportsInterface
Contract: SnowconeProjects
Interface: IERC165
ndicates if this contract adheres to the specified interface.
See {IERC165-supportsInterface}.
Definition
function supportsInterface(bytes4 _interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { ... }
Arguments: _interfaceId is the ID of the interface to check for adherence to. The view function can be accessed externally by anyone, and internally within this contract. The view function does not alter state on the blockchain. The function overrides a function definition from the IERC165 interface. The function returns a flag indicating if this contract adheres to the specified interface. Body
Return true if the provided interface ID is in the list of interfaces this contract adheres to.
return
_interfaceId == type(ISnowconeProjects).interfaceId ||
_interfaceId == type(ISnowconeOperatable).interfaceId ||
super.supportsInterface(_interfaceId);
Last updated
Was this helpful?