solana

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddressFilter

func NewAddressFilter(address solana.PublicKey) query.Expression

func NewEventBySubkeyFilter

func NewEventBySubkeyFilter(subkeyIndex uint64, comparers []IndexedValueComparator) query.Expression

func NewEventSigFilter

func NewEventSigFilter(e solana.EventSignature) query.Expression

Types

type Address

type Address struct {
	PubKey solana.PublicKey
}

func (*Address) Accept

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

type EventBySubkey

type EventBySubkey struct {
	SubKeyIndex    uint64
	ValueComparers []IndexedValueComparator
}

func (*EventBySubkey) Accept

func (esk *EventBySubkey) Accept(visitor primitives.Visitor)

type EventSig

type EventSig struct {
	Sig solana.EventSignature
}

func (*EventSig) Accept

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

type IndexedValueComparator

type IndexedValueComparator struct {
	Value    solana.IndexedValue
	Operator primitives.ComparisonOperator
}

type Visitor

type Visitor interface {
	Address(primitive *Address)
	EventSig(primitive *EventSig)
	EventBySubkey(primitive *EventBySubkey)
}

Jump to

Keyboard shortcuts

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