Documentation
¶
Index ¶
- func NewAddressFilter(address evm.Address) query.Expression
- func NewEventByTopicFilter(topic uint64, valueComparer []HashedValueComparator) query.Expression
- func NewEventByWordFilter(wordIndex int, valueComparers []HashedValueComparator) query.Expression
- func NewEventSigFilter(eventSig evm.Hash) query.Expression
- type Address
- type EventByTopic
- type EventByWord
- type EventSig
- type HashedValueComparator
- type Visitor
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 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 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)
}
Click to show internal directories.
Click to hide internal directories.