Function deserializeVersionedSchemaModule

  • Deserialize a versioned smart contract module schema. This checks for the prefix of two max-value u8 bytes and fails otherwise.

    Throws

    If provided smart contract module schema is not prefixed with two max-value u8 bytes, or if the deserialization fails.

    Returns

    The structured representation of a smart contract schema module.

    Parameters

    • cursor: Cursor

      A cursor over the buffer to deserialize.

    Returns VersionedSchemaModule

Generated using TypeDoc