localevents

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterLiquidatedEventYAML

type ClusterLiquidatedEventYAML struct {
	Owner       string   `yaml:"Owner"`
	OperatorIds []uint64 `yaml:"OperatorIds"`
}

type ClusterReactivatedEventYAML

type ClusterReactivatedEventYAML struct {
	Owner       string   `yaml:"Owner"`
	OperatorIds []uint64 `yaml:"OperatorIds"`
}

type Event

type Event struct {
	// Name is the event name used for internal representation.
	Name string
	// Data is the parsed event
	Data interface{}
}

Event represents an eth1 event log in the system TODO: It has no Log field because it's not used and seems unnecessary. However, we need to make sure we don't need it.

func Load

func Load(path string) ([]Event, error)

func (*Event) UnmarshalYAML

func (e *Event) UnmarshalYAML(value *yaml.Node) error

type FeeRecipientAddressUpdatedEventYAML

type FeeRecipientAddressUpdatedEventYAML struct {
	Owner            string `yaml:"Owner"`
	RecipientAddress string `yaml:"RecipientAddress"`
}

type OperatorAddedEventYAML

type OperatorAddedEventYAML struct {
	ID        uint64 `yaml:"ID"`
	Owner     string `yaml:"Owner"`
	PublicKey string `yaml:"PublicKey"`
}

type OperatorRemovedEventYAML

type OperatorRemovedEventYAML struct {
	ID uint64 `yaml:"ID"`
}

type ValidatorAddedEventYAML

type ValidatorAddedEventYAML struct {
	PublicKey   string   `yaml:"PublicKey"`
	Owner       string   `yaml:"Owner"`
	OperatorIds []uint64 `yaml:"OperatorIds"`
	Shares      string   `yaml:"Shares"`
}

type ValidatorExitedEventYAML added in v1.2.2

type ValidatorExitedEventYAML struct {
	PublicKey   string   `yaml:"PublicKey"`
	OperatorIds []uint64 `yaml:"OperatorIds"`
}

type ValidatorRemovedEventYAML

type ValidatorRemovedEventYAML struct {
	Owner       string   `yaml:"Owner"`
	OperatorIds []uint64 `yaml:"OperatorIds"`
	PublicKey   string   `yaml:"PublicKey"`
}

Jump to

Keyboard shortcuts

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