util

package
v0.0.0-...-67b0b38 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountByProgramHash

func GetAccountByProgramHash(programHash Uint160) *account.Account

func MakeIssueTransaction

func MakeIssueTransaction(wallet account.Client, assetID Uint256, address string, value string) (*transaction.Transaction, error)

func MakeLockAssetTransaction

func MakeLockAssetTransaction(wallet account.Client, assetID Uint256, value string, height uint32) (*transaction.Transaction, error)

func MakeMultisigTransferTransaction

func MakeMultisigTransferTransaction(wallet account.Client, assetID Uint256, from string, batchOut ...BatchOut) (*transaction.Transaction, error)

func MakeRegTransaction

func MakeRegTransaction(wallet account.Client, name string, value string) (*transaction.Transaction, error)

func MakeTransferTransaction

func MakeTransferTransaction(wallet account.Client, assetID Uint256, batchOut ...BatchOut) (*transaction.Transaction, error)

func MakeTransferTransactionExt

func MakeTransferTransactionExt(assetID Uint256, input []*transaction.UTXOTxInput,
	batchOut []BatchOut, privs map[string]string, addrs []*transaction.TxOutput) (*transaction.Transaction, error)

func SignTx

func SignTx(privs map[string]string, tx *transaction.Transaction)

Types

type BatchOut

type BatchOut struct {
	Address string
	Value   string
}

Jump to

Keyboard shortcuts

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