json

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEndOfSeq = errors.New("end of seq")

Functions

func DecodeArguments

func DecodeArguments(data []byte, args eth_abi.Arguments) (ast.Node, error)

func DecodeLog

func DecodeLog(topics [][]byte, input []byte, event eth_abi.Event) (ast.Node, error)

func DecodeTrace

func DecodeTrace(input []byte, output []byte, method eth_abi.Method) (ast.Node, error)

func DecodeValue

func DecodeValue(data []byte, t eth_abi.Type) (ast.Node, error)

func ReadArray

func ReadArray(next func() (*evmabi.Event, error, bool), length int) (ast.Node, error)

func ReadKey

func ReadKey(next func() (*evmabi.Event, error, bool)) (string, error)

func ReadTuple

func ReadTuple(next func() (*evmabi.Event, error, bool), length int) (ast.Node, error)

func ReadValue

func ReadValue(next func() (*evmabi.Event, error, bool)) (ast.Node, error)

func SplitInputs

func SplitInputs(inputs []eth_abi.Argument) ([]eth_abi.Argument, []eth_abi.Argument)

Types

This section is empty.

Jump to

Keyboard shortcuts

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