evm

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddressFilter

func NewAddressFilter(address evm.Address) query.Expression

func NewEventByTopicFilter

func NewEventByTopicFilter(topic uint64, valueComparer []HashedValueComparator) query.Expression

func NewEventByWordFilter

func NewEventByWordFilter(wordIndex int, valueComparers []HashedValueComparator) query.Expression

func NewEventSigFilter

func NewEventSigFilter(eventSig evm.Hash) query.Expression

Types

type Address

type Address struct {
	Address evm.Address
}

func (*Address) Accept

func (a *Address) Accept(visitor primitives.Visitor)

type EventByTopic

type EventByTopic struct {
	Topic                uint64
	HashedValueComparers []HashedValueComparator
}

func (*EventByTopic) Accept

func (et *EventByTopic) Accept(visitor primitives.Visitor)

type EventByWord

type EventByWord struct {
	WordIndex            int
	HashedValueComparers []HashedValueComparator
}

func (*EventByWord) Accept

func (ew *EventByWord) Accept(visitor primitives.Visitor)

type EventSig

type EventSig struct {
	EventSig evm.Hash
}

func (*EventSig) Accept

func (es *EventSig) Accept(visitor primitives.Visitor)

type HashedValueComparator

type HashedValueComparator struct {
	Values   []evm.Hash
	Operator primitives.ComparisonOperator
}

type Visitor

type Visitor interface {
	Address(primitive *Address)
	EventSig(primitive *EventSig)
	EventTopicsByValue(primitive *EventByTopic)
	EventByWord(primitive *EventByWord)
}

Jump to

Keyboard shortcuts

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