utils

package
v0.0.0-...-f5d07b1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNativeInvokeCode

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

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