types

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BOOL

type BOOL bool

type CONTRACT_ID

type CONTRACT_ID string

type DATE

type DATE time.Time

type DECIMAL

type DECIMAL *big.Int

type ENUM

type ENUM interface {
	GetEnumConstructor() string
	GetEnumTypeID() string
}

ENUM represents a DAML enum type

type GENMAP

type GENMAP map[string]interface{}

type INT64

type INT64 int64

type LIST

type LIST []string

type MAP

type MAP map[string]interface{}

type NUMERIC

type NUMERIC string

func NewNumericFromDecimal

func NewNumericFromDecimal(d decimal.Decimal) NUMERIC

type OPTIONAL

type OPTIONAL *interface{}

type PARTY

type PARTY string

func (PARTY) ToMap

func (p PARTY) ToMap() map[string]interface{}

type RELTIME

type RELTIME time.Duration

type SET

type SET []interface{}

type TEXT

type TEXT string

type TEXTMAP

type TEXTMAP map[string]interface{}

type TIMESTAMP

type TIMESTAMP time.Time

type TUPLE2

type TUPLE2 struct {
	First  interface{}
	Second interface{}
}

type UNIT

type UNIT struct{}

type VARIANT

type VARIANT interface {
	GetVariantTag() string
	GetVariantValue() interface{}
}

VARIANT represents a DAML variant/union type

type VariantWithTagByte

type VariantWithTagByte interface {
	VARIANT
	GetVariantTagByte() byte
}

VariantWithTagByte extends VARIANT with numeric tag byte encoding. Variants implementing this interface will be encoded using a single tag byte (0x00, 0x01, etc.) instead of length-prefixed string tags. This is used for MCMS (Multi-Chain Multi-Sig) codec compatibility.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL