extrenvm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TxHash

func TxHash(to abi.String, in Arguments) abi.Bytes32

Types

type Argument

type Argument struct {
	Name  abi.String
	Value abi.Value
}

func (Argument) Marshal

func (arg Argument) Marshal(w io.Writer) (uint32, error)

func (Argument) MarshalJSON

func (arg Argument) MarshalJSON() ([]byte, error)

func (Argument) SizeHint

func (arg Argument) SizeHint() uint32

func (Argument) Type

func (Argument) Type() abi.Type

func (*Argument) Unmarshal

func (arg *Argument) Unmarshal(r io.Reader, m uint32) (uint32, error)

func (*Argument) UnmarshalJSON

func (arg *Argument) UnmarshalJSON(data []byte) error

type Arguments

type Arguments []Argument

func (Arguments) Marshal

func (args Arguments) Marshal(w io.Writer) (uint32, error)

func (Arguments) SizeHint

func (args Arguments) SizeHint() uint32

func (Arguments) Type

func (Arguments) Type() abi.Type

func (*Arguments) Unmarshal

func (args *Arguments) Unmarshal(r io.Reader, m uint32) (uint32, error)

type Tx

type Tx struct {
	Hash    abi.Bytes32 `json:"hash"`
	To      abi.String  `json:"to"`
	In      Arguments   `json:"in"`
	Autogen Arguments   `json:"autogen"`
	Out     Arguments   `json:"out"`
}

func NewTx

func NewTx(to abi.String, in, autogen, out Arguments) Tx

func (Tx) Marshal

func (tx Tx) Marshal(w io.Writer) (uint32, error)

func (Tx) SizeHint

func (tx Tx) SizeHint() uint32

func (Tx) Type

func (Tx) Type() abi.Type

func (*Tx) Unmarshal

func (tx *Tx) Unmarshal(r io.Reader, m uint32) (uint32, error)

Jump to

Keyboard shortcuts

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