common

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnpackLog

func UnpackLog(contractAbi abi.ABI, out interface{}, event string, log types.Log) error

UnpackLog unpacks a retrieved log into the provided output structure.

Types

type BaseEVMEvent

type BaseEVMEvent struct {
	// contains filtered or unexported fields
}

func (*BaseEVMEvent) GetLog

func (e *BaseEVMEvent) GetLog() types.Log

type EVMEvent

type EVMEvent interface {
	Name() string
	GetLog() types.Log
}

type EVMEventHandler

type EVMEventHandler interface {
	Handle(event EVMEvent) error
}

EVMEventHandler specifies method for an event handler.

Jump to

Keyboard shortcuts

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