genabi

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(pkg string, js []byte) ([]byte, error)

Types

type Event

type Event struct {
	Name      string
	Type      string //event
	Anonymous bool
	Inputs    []Input
}

func (Event) SchemaSignature

func (e Event) SchemaSignature() string

func (Event) SigHashLiteral

func (e Event) SigHashLiteral() string

func (Event) Signature

func (e Event) Signature() string

func (Event) SignatureHash

func (e Event) SignatureHash() [32]byte

type Input

type Input struct {
	Indexed    bool
	Name       string
	Type       string
	Components []Input
}

func (Input) Signature

func (inp Input) Signature() string

Directories

Path Synopsis
Parse event/log data based on the 'example' ABI
Parse event/log data based on the 'example' ABI

Jump to

Keyboard shortcuts

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