IROJIVersionedContract

IROJIVersionedContract

Returns the contract version, starting with 1, of the implementing contract. When inheriting from this contract you need to support EIP-165 as well. The interface id is bytes4 private constant _INTERFACE_ID_ROJI_VERSIONED_CONTRACT = bytes4(0xa0a8e460);

contractVersion

function contractVersion() external pure returns (uint32)

Returns the version of the underlying contract.

Was this helpful?