big_map

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 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    mv.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      mv.BigInt `json:"source_big_map"`
	DestinationBigMap mv.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 `mv:"dyn" json:"contents"`
}

type Op

type Op interface {
	BigMapDiffOp() string
}

type Remove

type Remove struct {
	BigMap mv.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  mv.BigInt                        `json:"big_map"`
	KeyHash *mv.ScriptExprHash               `json:"key_hash"`
	Key     expression.Expression            `json:"key"`
	Value   mv.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