commands

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 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 CompleteAllWithdrawalsCommand added in v1.5.0

func CompleteAllWithdrawalsCommand(args TCompleteWithdrawalArgs) error

func ConsolidateSwitchCommand added in v1.5.0

func ConsolidateSwitchCommand(args TConsolidateSwitchCommandArgs) error

func ConsolidateToTargetCommand added in v1.5.0

func ConsolidateToTargetCommand(args TConsolidateToTargetCommandArgs) error

func CredentialsCommand

func CredentialsCommand(args TCredentialCommandArgs) error

func DelegationManager added in v1.5.0

func DelegationManager(chainId *big.Int) common.Address

func FindStalePodsCommand added in v1.5.0

func FindStalePodsCommand(args TFindStalePodsCommandArgs) error

func FixStaleBalance added in v1.5.0

func FixStaleBalance(args TFixStaleBalanceArgs) error

func PrintAsJSON added in v1.5.0

func PrintAsJSON(txns any)

func QueueWithdrawalCommand added in v1.5.0

func QueueWithdrawalCommand(args TQueueWithdrawallArgs) error

func RequestFullExitCommand added in v1.5.0

func RequestFullExitCommand(args TRequestFullExitCommandArgs) error

func RequestPartialWithdrawalCommand added in v1.5.0

func RequestPartialWithdrawalCommand(args TRequestPartialWithdrawalCommandArgs) error

func ShowWithdrawalsCommand added in v1.5.0

func ShowWithdrawalsCommand(args TShowWithdrawalArgs) error

func StatusCommand

func StatusCommand(args TStatusArgs) error

Types

type ConsolidateBaseCommandArgs added in v1.5.0

type ConsolidateBaseCommandArgs struct {
	EigenpodAddress string

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

	CheckFee              bool
	NoWarn                bool
	FeeOverestimateFactor float64
}

type CredentialProofTransaction

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

type PredeployRequestTransaction added in v1.5.0

type PredeployRequestTransaction struct {
	Transaction
	Value *big.Int
}

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 TCompleteWithdrawalArgs added in v1.5.0

type TCompleteWithdrawalArgs struct {
	EthNode     string
	EigenPod    string
	Sender      string
	EstimateGas bool
}

type TConsolidateSwitchCommandArgs added in v1.5.0

type TConsolidateSwitchCommandArgs struct {
	ConsolidateBaseCommandArgs

	Validators []uint64
}

type TConsolidateToTargetCommandArgs added in v1.5.0

type TConsolidateToTargetCommandArgs struct {
	ConsolidateBaseCommandArgs

	TargetValidator  uint64
	SourceValidators []uint64
}

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 added in v1.5.0

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

type TFixStaleBalanceArgs added in v1.5.0

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

type TQueueWithdrawallArgs added in v1.5.0

type TQueueWithdrawallArgs struct {
	EthNode     string
	EigenPod    string
	Sender      string
	EstimateGas bool
	AmountWei   uint64
}

type TRequestFullExitCommandArgs added in v1.5.0

type TRequestFullExitCommandArgs struct {
	WithdrawalBaseCommandArgs

	Validators []uint64
}

type TRequestPartialWithdrawalCommandArgs added in v1.5.0

type TRequestPartialWithdrawalCommandArgs struct {
	WithdrawalBaseCommandArgs

	Validators []uint64
	AmtsGwei   []uint64
}

type TShowWithdrawalArgs added in v1.5.0

type TShowWithdrawalArgs struct {
	EthNode    string
	EigenPod   string
	Strategies common.Address
}

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 added in v1.5.0

type TransactionDescription struct {
	Hash string
	Type string
}

type TransactionList

type TransactionList = []Transaction

type WithdrawalBaseCommandArgs added in v1.5.0

type WithdrawalBaseCommandArgs struct {
	EigenpodAddress string

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

	CheckFee              bool
	NoWarn                bool
	FeeOverestimateFactor float64
}

Jump to

Keyboard shortcuts

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