states

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: LGPL-3.0 Imports: 3 Imported by: 38

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) Serialization added in v1.5.1

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

type PreExecResult

type PreExecResult struct {
	State  byte
	Gas    uint64
	Result interface{}
	Notify []*event.NotifyEventInfo
}

type WasmContractParam added in v1.8.0

type WasmContractParam struct {
	Address common.Address
	Args    []byte
}

func (*WasmContractParam) Deserialization added in v1.8.0

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

`ContractInvokeParam.Args` has reference of `source`

func (*WasmContractParam) Serialization added in v1.8.0

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

Jump to

Keyboard shortcuts

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