utils

package
v1.6.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: LGPL-3.0 Imports: 10 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNativeInvokeCode added in v1.6.0

func BuildNativeInvokeCode(contractAddress common.Address, version byte, method string, params []interface{}) ([]byte, error)

func BuildNativeTransaction

func BuildNativeTransaction(addr common.Address, initMethod string, args []byte) *types.MutableTransaction

func BuildNeoVMParam added in v1.6.0

func BuildNeoVMParam(builder *vm.ParamsBuilder, smartContractParams []interface{}) error

buildNeoVMParamInter build neovm invoke param code

func NewDeployTransaction

func NewDeployTransaction(code []byte, name, version, author, email, desp string, needStorage bool) *types.MutableTransaction

NewDeployTransaction returns a deploy Transaction

func NewInvokeTransaction

func NewInvokeTransaction(code []byte) *types.MutableTransaction

NewInvokeTransaction returns an invoke Transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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