big_map

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alloc

type Alloc struct {
	BigMap    tz.BigInt             `json:"big_map"`
	KeyType   expression.Expression `json:"key_type"`
	ValueType expression.Expression `json:"value_type"`
}

func (*Alloc) BigMapDiffOp

func (*Alloc) BigMapDiffOp() string

func (*Alloc) MarshalJSON

func (self *Alloc) MarshalJSON() ([]byte, error)

type Copy

type Copy struct {
	SourceBigMap      tz.BigInt `json:"source_big_map"`
	DestinationBigMap tz.BigInt `json:"destination_big_map"`
}

func (*Copy) BigMapDiffOp

func (*Copy) BigMapDiffOp() string

func (*Copy) MarshalJSON

func (self *Copy) MarshalJSON() ([]byte, error)

type Diff

type Diff struct {
	Contents []Op `tz:"dyn" json:"contents"`
}

type Op

type Op interface {
	BigMapDiffOp() string
}

type Remove

type Remove struct {
	BigMap tz.BigInt `json:"big_map"`
}

func (*Remove) BigMapDiffOp

func (*Remove) BigMapDiffOp() string

func (*Remove) MarshalJSON

func (self *Remove) MarshalJSON() ([]byte, error)

type Update

type Update struct {
	BigMap  tz.BigInt                        `json:"big_map"`
	KeyHash *tz.ScriptExprHash               `json:"key_hash"`
	Key     expression.Expression            `json:"key"`
	Value   tz.Option[expression.Expression] `json:"value"`
}

func (*Update) BigMapDiffOp

func (*Update) BigMapDiffOp() string

func (*Update) MarshalJSON

func (self *Update) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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