validator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinBalanceType = "validator_min_balance"
)
View Source
const (
	StatusType = "validator_status"
)
View Source
const (
	WithdrawalCredentialsType = "validator_withdrawal_credentials"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MinBalance

type MinBalance struct {
	Timestamp time.Time
	Pubkey    string
	Balance   uint64
	Group     string
	Monitor   string
}

func NewMinBalance

func NewMinBalance(timestamp time.Time, balance uint64, pubkey, group, monitor string) *MinBalance

func (*MinBalance) GetDescription

func (v *MinBalance) GetDescription() string

func (*MinBalance) GetGroup

func (v *MinBalance) GetGroup() string

func (*MinBalance) GetMonitor

func (v *MinBalance) GetMonitor() string

func (*MinBalance) GetTitle

func (v *MinBalance) GetTitle() string

func (*MinBalance) GetType

func (v *MinBalance) GetType() string

type Status

type Status struct {
	Timestamp time.Time
	Pubkey    string
	Status    string
	Group     string
	Monitor   string
}

func NewStatus

func NewStatus(timestamp time.Time, status, pubkey, group, monitor string) *Status

func (*Status) GetDescription

func (v *Status) GetDescription() string

func (*Status) GetGroup

func (v *Status) GetGroup() string

func (*Status) GetMonitor

func (v *Status) GetMonitor() string

func (*Status) GetTitle

func (v *Status) GetTitle() string

func (*Status) GetType

func (v *Status) GetType() string

type WithdrawalCredentials

type WithdrawalCredentials struct {
	Timestamp time.Time
	Pubkey    string
	Code      int64
	Group     string
	Monitor   string
}

func NewWithdrawalCredentials

func NewWithdrawalCredentials(timestamp time.Time, code int64, pubkey, group, monitor string) *WithdrawalCredentials

func (*WithdrawalCredentials) GetDescription

func (v *WithdrawalCredentials) GetDescription() string

func (*WithdrawalCredentials) GetGroup

func (v *WithdrawalCredentials) GetGroup() string

func (*WithdrawalCredentials) GetMonitor

func (v *WithdrawalCredentials) GetMonitor() string

func (*WithdrawalCredentials) GetTitle

func (v *WithdrawalCredentials) GetTitle() string

func (*WithdrawalCredentials) GetType

func (v *WithdrawalCredentials) GetType() string

Jump to

Keyboard shortcuts

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