commands

package
v0.0.0-...-7d5141f Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignSubmitterCommand

func AssignSubmitterCommand(args TAssignSubmitterArgs) error

func CheckpointCommand

func CheckpointCommand(args TCheckpointCommandArgs) error

func ComputeCheckpointableValueCommand

func ComputeCheckpointableValueCommand(args TComputeCheckpointableValueCommandArgs) error

func CredentialsCommand

func CredentialsCommand(args TCredentialCommandArgs) error

func FindStalePodsCommand

func FindStalePodsCommand(args TFindStalePodsCommandArgs) error

func FixStaleBalance

func FixStaleBalance(args TFixStaleBalanceArgs) error

func PodManagerContracts

func PodManagerContracts() map[uint64]string

TODO: this is duplicated

func StatusCommand

func StatusCommand(args TStatusArgs) error

Types

type CredentialProofTransaction

type CredentialProofTransaction struct {
	Transaction
	ValidatorIndices []uint64 `json:"validator_indices"`
}

type TAssignSubmitterArgs

type TAssignSubmitterArgs struct {
	Node            string
	TargetAddress   string
	Sender          string
	EigenpodAddress string
	NoPrompt        bool
	Verbose         bool
}

type TCheckpointCommandArgs

type TCheckpointCommandArgs struct {
	EigenpodAddress     string
	Node                string
	BeaconNode          string
	Sender              string
	DisableColor        bool
	NoPrompt            bool
	SimulateTransaction bool
	BatchSize           uint64
	ForceCheckpoint     bool
	Verbose             bool
}

type TComputeCheckpointableValueCommandArgs

type TComputeCheckpointableValueCommandArgs struct {
	Node       string
	BeaconNode string
}

type TCredentialCommandArgs

type TCredentialCommandArgs struct {
	EigenpodAddress string

	DisableColor        bool
	UseJSON             bool
	SimulateTransaction bool
	Node                string
	BeaconNode          string
	Sender              string
	SpecificValidator   uint64
	BatchSize           uint64
	NoPrompt            bool
	Verbose             bool
}

type TFindStalePodsCommandArgs

type TFindStalePodsCommandArgs struct {
	EthNode    string
	BeaconNode string
	Verbose    bool
	Tolerance  float64
}

type TFixStaleBalanceArgs

type TFixStaleBalanceArgs struct {
	EthNode               string
	BeaconNode            string
	Sender                string
	EigenpodAddress       string
	SlashedValidatorIndex uint64
	Verbose               bool
	CheckpointBatchSize   uint64
	NoPrompt              bool
}

type TQueryAllEigenpodsOnNetworkArgs

type TQueryAllEigenpodsOnNetworkArgs struct {
	Ctx               context.Context
	AllValidators     []core.ValidatorWithIndex
	Eth               *ethclient.Client
	EigenpodAbi       abi.ABI
	PodManagerAbi     abi.ABI
	PodManagerAddress string
	Mc                *multicall.MulticallClient
}

type TStatusArgs

type TStatusArgs struct {
	EigenpodAddress string
	DisableColor    bool
	UseJSON         bool
	Node            string
	BeaconNode      string
	Verbose         bool
}

type Transaction

type Transaction struct {
	Type            string  `json:"type"`
	To              string  `json:"to"`
	CallData        string  `json:"calldata"`
	GasEstimateGwei *uint64 `json:"gas_estimate_gwei,omitempty"`
}

type TransactionDescription

type TransactionDescription struct {
	Hash string
	Type string
}

type TransactionList

type TransactionList = []Transaction

Jump to

Keyboard shortcuts

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