pragma ever-solidity >= 0.68.0; /// @title Version Interface /// @notice Interface for versioned contract implementation interface IVersion { /// @dev Emits when the contract was successfully upgraded /// @dev Should be emitted only inside onCodeUpgrade() event VersionChanged( uint32 current, uint32 previous ); /// @notice Get the current contract's version /// @return uint32 Contract's version function getVersion() external view responsible returns (uint32); }