filters

package
v0.0.0-...-f94ef0f Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[T comparable](elems []T, v T) bool

Types

type LogFilter

type LogFilter struct {
	FromBlock uint64
	ToBlock   uint64
	Blockhash common.Hash
	Address   []common.Address
	Topics    [][]common.Hash
}

func (LogFilter) MarshalJSON

func (f LogFilter) MarshalJSON() ([]byte, error)

func (*LogFilter) Match

func (f *LogFilter) Match(l *types.Log) bool

func (*LogFilter) UnmarshalJSON

func (f *LogFilter) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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