Versions in this module Expand all Collapse all v1 v1.2.2 Mar 4, 2025 Changes in this version + func GetDBID(contractInfo ContractInfo) string + func SetupAndInitializeContract(ctx context.Context, platform *kwilTesting.Platform, contractInfo ContractInfo) error + func SetupComposedStream(ctx context.Context, input SetupComposedStreamInput) error + type ContractInfo struct + Content []byte + Deployer util.EthereumAddress + Name string + StreamID util.StreamId + Type ContractType + type ContractType string + const ContractTypeComposed + const ContractTypePrimitive + type SetupComposedStreamInput struct + Height int64 + Platform *kwilTesting.Platform + StreamId util.StreamId v1.2.1 Feb 25, 2025 Changes in this version + func InsertMarkdownPrimitiveData(ctx context.Context, input InsertMarkdownDataInput) error + func SetupComposedFromMarkdown(ctx context.Context, input MarkdownComposedSetupInput) error + func SetupPrimitiveFromMarkdown(ctx context.Context, input MarkdownPrimitiveSetupInput) error + type ComposedStreamDefinition struct + StreamLocator types.StreamLocator + TaxonomyDefinitions types.Taxonomy + type InitializeContractInput struct + Dbid string + Deployer util.EthereumAddress + Height int64 + Platform *kwilTesting.Platform + type InsertMarkdownDataInput struct + Height int64 + MarkdownData string + Platform *kwilTesting.Platform + StreamLocator types.StreamLocator + type InsertPrimitiveDataInput struct + Platform *kwilTesting.Platform + type InsertRecordInput struct + DateValue civil.Date + Value string + type MarkdownComposedSetupInput struct + Height int64 + MarkdownData string + Platform *kwilTesting.Platform + StreamId string + Weights []string + type MarkdownPrimitiveSetupInput struct + Height int64 + MarkdownData string + Platform *kwilTesting.Platform + StreamId util.StreamId + type PrimitiveStreamDefinition struct + StreamLocator types.StreamLocator + type PrimitiveStreamWithData struct + Data []InsertRecordInput + type SetTaxonomyInput struct + Platform *kwilTesting.Platform + type SetupComposedAndPrimitivesInput struct + ComposedStreamDefinition ComposedStreamDefinition + Height int64 + Platform *kwilTesting.Platform + PrimitiveStreamsWithData []PrimitiveStreamWithData + type SetupPrimitiveInput struct + Height int64 + Platform *kwilTesting.Platform + PrimitiveStreamWithData PrimitiveStreamWithData