Type alias VersionedSchemaModule

VersionedSchemaModule: {
    module: SchemaModuleV0;
    version: 0;
} | {
    module: SchemaModuleV1;
    version: 1;
} | {
    module: SchemaModuleV2;
    version: 2;
} | {
    module: SchemaModuleV3;
    version: 3;
}

Represents the different schema versions.

The serialization of this type includes the versioning information. The serialization of this is always prefixed with two 255u8 in order to distinguish this versioned schema from the unversioned. When embedded into a smart contract module, name the custom section concordium-schema.

Generated using TypeDoc