states

package
v0.0.0-...-6425a1c Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: LGPL-3.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract 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 (*Contract) Deserialization

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

func (*Contract) Deserialize

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

Deserialize contract

func (*Contract) Serialization

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

func (*Contract) Serialize

func (this *Contract) 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