tx

package
v0.3.0-beta.rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2018 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TYPE_N = OutType(0)
	TYPE_O = OutType(1)
	TYPE_Z = OutType(2)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type In

type In struct {
	Root keys.Uint256
}

type Out

type Out struct {
	Addr  keys.Uint512
	Asset assets.Asset
	Memo  keys.Uint512
	Z     OutType
}

type OutType

type OutType int

type T

type T struct {
	FromRnd *keys.Uint256
	Ehash   keys.Uint256
	Fee     utils.U256
	Ins     []In
	Outs    []Out
}

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