Skip to main content

PermissionConditionUpgradeable

Description

An abstract contract for upgradeable or cloneable contracts to inherit from and 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