lazy

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 BigMap

type BigMap struct {
	ID   mv.BigInt `json:"id"`
	Diff BigMapOp  `json:"diff"`
}

func (*BigMap) LazyStorageDiffKind

func (*BigMap) LazyStorageDiffKind() string

func (*BigMap) MarshalJSON

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

type BigMapAlloc

type BigMapAlloc struct {
	Updates   []*KeyValue           `mv:"dyn" json:"updates"`
	KeyType   expression.Expression `json:"key_type"`
	ValueType expression.Expression `json:"value_type"`
}

func (*BigMapAlloc) LazyStorageBigMapOp

func (*BigMapAlloc) LazyStorageBigMapOp() string

func (*BigMapAlloc) MarshalJSON

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

type BigMapCopy

type BigMapCopy struct {
	Source  mv.BigInt   `json:"source"`
	Updates []*KeyValue `mv:"dyn" json:"updates"`
}

func (*BigMapCopy) LazyStorageBigMapOp

func (*BigMapCopy) LazyStorageBigMapOp() string

func (*BigMapCopy) MarshalJSON

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

type BigMapOp

type BigMapOp interface {
	LazyStorageBigMapOp() string
}

type BigMapRemove

type BigMapRemove struct{}

func (*BigMapRemove) LazyStorageBigMapOp

func (*BigMapRemove) LazyStorageBigMapOp() string

func (*BigMapRemove) MarshalJSON

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

type BigMapUpdate

type BigMapUpdate struct {
	Updates []*KeyValue `mv:"dyn" json:"updates"`
}

func (*BigMapUpdate) LazyStorageBigMapOp

func (*BigMapUpdate) LazyStorageBigMapOp() string

func (*BigMapUpdate) MarshalJSON

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

type CommitmentAndCiphertext

type CommitmentAndCiphertext struct {
	Commitment *[32]byte         `json:"commitment"`
	Ciphertext SaplingCiphertext `json:"ciphertext"`
}

type DiffKind

type DiffKind interface {
	LazyStorageDiffKind() string
}

type KeyValue

type KeyValue struct {
	KeyHash *mv.ScriptExprHash               `json:"key_hash"`
	Key     expression.Expression            `json:"key"`
	Value   mv.Option[expression.Expression] `json:"value"`
}

type SaplingCiphertext

type SaplingCiphertext struct {
	Cv         *[32]byte `json:"cv"`
	Epk        *[32]byte `json:"epk"`
	PayloadEnc []byte    `mv:"dyn" json:"payload_enc"`
	NonceEnc   *[24]byte `json:"nonce_enc"`
	PayloadOut *[80]byte `json:"payload_out"`
	NonceOut   *[24]byte `json:"nonce_out"`
}

type SaplingState

type SaplingState struct {
	ID   mv.BigInt      `json:"id"`
	Diff SaplingStateOp `json:"diff"`
}

func (*SaplingState) LazyStorageDiffKind

func (*SaplingState) LazyStorageDiffKind() string

func (*SaplingState) MarshalJSON

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

type SaplingStateAlloc

type SaplingStateAlloc struct {
	Updates  SaplingStateUpdates `json:"updates"`
	MemoSize uint16              `json:"memo_size"`
}

func (*SaplingStateAlloc) LazyStorageSaplingStateOp

func (*SaplingStateAlloc) LazyStorageSaplingStateOp() string

func (*SaplingStateAlloc) MarshalJSON

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

type SaplingStateCopy

type SaplingStateCopy struct {
	Source  mv.BigInt           `json:"source"`
	Updates SaplingStateUpdates `json:"updates"`
}

func (*SaplingStateCopy) LazyStorageSaplingStateOp

func (*SaplingStateCopy) LazyStorageSaplingStateOp() string

func (*SaplingStateCopy) MarshalJSON

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

type SaplingStateOp

type SaplingStateOp interface {
	LazyStorageSaplingStateOp() string
}

type SaplingStateRemove

type SaplingStateRemove struct{}

func (*SaplingStateRemove) LazyStorageSaplingStateOp

func (*SaplingStateRemove) LazyStorageSaplingStateOp() string

func (*SaplingStateRemove) MarshalJSON

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

type SaplingStateUpdate

type SaplingStateUpdate struct {
	Updates SaplingStateUpdates `json:"updates"`
}

func (*SaplingStateUpdate) LazyStorageSaplingStateOp

func (*SaplingStateUpdate) LazyStorageSaplingStateOp() string

func (*SaplingStateUpdate) MarshalJSON

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

type SaplingStateUpdates

type SaplingStateUpdates struct {
	CommitmentsAndCiphertexts []*CommitmentAndCiphertext `mv:"dyn" json:"commitments_and_ciphertexts"`
	Nullifiers                mv.Bytes                   `mv:"dyn" json:"nullifiers"`
}

type StorageDiff

type StorageDiff struct {
	Contents []DiffKind `mv:"dyn" json:"contents"`
}

Jump to

Keyboard shortcuts

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