tx

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type In

type In struct {
	Root keys.Uint256
	IsO  bool
}

type Out

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

type PkgClose

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

type PkgCreate

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

type PkgTransfer

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

type T

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

func (*T) TikectCost

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

func (*T) TokenCost

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

Jump to

Keyboard shortcuts

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