🏷️version
Struct InterfaceVersion
Identifies the interface revision implemented or expected by the surrounding stored state.
public struct InterfaceVersion has copy, drop, storeConstants
#[error]
const EInterfaceVersionMismatch: vector<u8> = b"Interface version mismatch";Function v
Wraps a raw version number into an InterfaceVersion.
Function number
Returns the raw version number.
Function expect_v
Asserts that this interface version equals the expected number.
Aborts with EInterfaceVersionMismatch if the version does not match.
Last updated

