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: 8 modules, 125 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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