tx

package
v0.0.0-...-93382e6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.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 In

type In struct {
	Root c_type.Uint256
	IsO  bool
}

type Out

type Out struct {
	Addr  c_type.PKr
	Asset assets.Asset
	Memo  c_type.Uint512
	IsZ   bool
}

type PkgClose

type PkgClose struct {
	Id  c_type.Uint256
	Key c_type.Uint256
}

type PkgCreate

type PkgCreate struct {
	Id  c_type.Uint256
	PKr c_type.PKr
	Pkg pkg.Pkg_O
}

type PkgTransfer

type PkgTransfer struct {
	Id  c_type.Uint256
	PKr c_type.PKr
}

type T

type T struct {
	FromRnd     *c_type.Uint256
	Ehash       c_type.Uint256
	Fee         assets.Token
	Ins         []In
	Outs        []Out
	PkgCreate   *PkgCreate
	PkgTransfer *PkgTransfer
	PkgClose    *PkgClose
}

func (*T) TikectCost

func (self *T) TikectCost() (ret map[c_type.Uint256][]c_type.Uint256)

func (*T) TokenCost

func (self *T) TokenCost() (ret map[c_type.Uint256]utils.U256)

Jump to

Keyboard shortcuts

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