Skip to main content

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)
InputTypeDescription
_interfaceIdbytes4The ID of the interface.
Output
0boolReturns true if the interface is supported.
© 2024