states

package
v0.0.0-...-c8e9c26 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

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
}

func (*Contract) Deserialize

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

func (*Contract) Serialize

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

type State

type State struct {
	Version byte
	From    common.Address
	To      common.Address
	Value   *big.Int
}

func (*State) Deserialize

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

func (*State) Serialize

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

type TransferFrom

type TransferFrom struct {
	Version byte
	Sender  common.Address
	From    common.Address
	To      common.Address
	Value   *big.Int
}

func (*TransferFrom) Deserialize

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

func (*TransferFrom) Serialize

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

type Transfers

type Transfers struct {
	Version byte
	States  []*State
}

func (*Transfers) Deserialize

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

func (*Transfers) Serialize

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

Jump to

Keyboard shortcuts

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