utils

package
v0.0.0-...-67468a5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

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