event

package
v0.0.150 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttestationHydrator

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

func NewAttestationHydrator

func NewAttestationHydrator(log logrus.FieldLogger, event *armiarma.TimedEthereumAttestation, beacon *ethereum.BeaconNode, duplicateCache *ttlcache.Cache[string, int], clientMeta *xatu.ClientMeta) *AttestationHydrator

func (*AttestationHydrator) CreateXatuEvent

func (h *AttestationHydrator) CreateXatuEvent(ctx context.Context) (*xatu.DecoratedEvent, error)

func (*AttestationHydrator) MarkAttestationAsSeen

func (h *AttestationHydrator) MarkAttestationAsSeen(ctx context.Context) error

func (*AttestationHydrator) TimesSeen

func (h *AttestationHydrator) TimesSeen(ctx context.Context) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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