states

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: LGPL-3.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractInvokeParam added in v1.5.1

type ContractInvokeParam struct {
	Version byte
	Address common.Address
	Method  string
	Args    []byte
}

Invoke smart contract struct Param Version: invoke smart contract version, default 0 Param Address: invoke on blockchain smart contract by address Param Method: invoke smart contract method, default "" Param Args: invoke smart contract arguments

func (*ContractInvokeParam) Deserialization added in v1.5.1

func (this *ContractInvokeParam) Deserialization(source *common.ZeroCopySource) error

`ContractInvokeParam.Args` has reference of `source`

func (*ContractInvokeParam) Deserialize added in v1.5.1

func (this *ContractInvokeParam) Deserialize(r io.Reader) error

Deserialize contract

func (*ContractInvokeParam) Serialization added in v1.5.1

func (this *ContractInvokeParam) Serialization(sink *common.ZeroCopySink)

func (*ContractInvokeParam) Serialize added in v1.5.1

func (this *ContractInvokeParam) Serialize(w io.Writer) error

Serialize contract

type PreExecResult

type PreExecResult struct {
	State  byte
	Gas    uint64
	Result interface{}
}

Jump to

Keyboard shortcuts

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