PermissionCondition
Description
An abstract contract for non-upgradeable contracts instantiated via the new
keyword to inherit from to support customary permissions depending on arbitrary on-chain state.
Implementation
public function supportsInterface
Checks if an interface is supported by this or its parent contract.
function supportsInterface(bytes4 _interfaceId) public view virtual returns (bool)
Input | Type | Description |
---|---|---|
_interfaceId | bytes4 | The ID of the interface. |
Output | ||
0 | bool | Returns true if the interface is supported. |