flag

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCurrentForkVersionFlag added in v1.3.0

func AddCurrentForkVersionFlag(c *cobra.Command)

AddCurrentForkVersionFlag adds the current fork version flag to the command

func AddEpochFlag added in v1.3.0

func AddEpochFlag(c *cobra.Command)

AddEpochFlag adds the epoch flag to the command

func AddHighestProposalFlag added in v0.3.3

func AddHighestProposalFlag(c *cobra.Command)

AddHighestProposalFlag adds the highest proposal flag to the command

func AddHighestSourceFlag

func AddHighestSourceFlag(c *cobra.Command)

AddHighestSourceFlag adds the highest source flag to the command

func AddHighestTargetFlag

func AddHighestTargetFlag(c *cobra.Command)

AddHighestTargetFlag adds the highest target flag to the command

func AddPrivateKeyFlag added in v1.0.8

func AddPrivateKeyFlag(c *cobra.Command)

AddPrivateKeyFlag adds private key to the command

func AddPublicKeyFlag

func AddPublicKeyFlag(c *cobra.Command)

AddPublicKeyFlag adds the public key flag to the command

func AddStorageFlag

func AddStorageFlag(c *cobra.Command)

AddStorageFlag adds the storage flag to the command

func AddToExecutionAddressFlag added in v1.3.0

func AddToExecutionAddressFlag(c *cobra.Command)

AddToExecutionAddressFlag adds the validator execution withdrawal address flag to the command

func AddValidatorIndexFlag added in v1.3.0

func AddValidatorIndexFlag(c *cobra.Command)

AddValidatorIndexFlag adds the validator index flag to the command

func AddValidatorIndicesFlag added in v1.3.0

func AddValidatorIndicesFlag(c *cobra.Command)

AddValidatorIndicesFlag adds the validator indices flag to the command

func AddValidatorPublicKeyFlag added in v1.3.0

func AddValidatorPublicKeyFlag(c *cobra.Command)

AddValidatorPublicKeyFlag adds the validator public key flag to the command

func AddValidatorPublicKeysFlag added in v1.3.0

func AddValidatorPublicKeysFlag(c *cobra.Command)

AddValidatorPublicKeysFlag adds the validator public keys flag to the command

func AddWithdrawalCredentialsFlag added in v1.3.0

func AddWithdrawalCredentialsFlag(c *cobra.Command)

AddWithdrawalCredentialsFlag adds withdrawal credentials to the command

func GetCurrentForkVersionFlagValue added in v1.3.0

func GetCurrentForkVersionFlagValue(c *cobra.Command) (phase0.Version, error)

GetCurrentForkVersionFlagValue gets the current fork version flag from the command

func GetEpochFlagValue added in v1.3.0

func GetEpochFlagValue(c *cobra.Command) (int, error)

GetEpochFlagValue gets the epoch flag from the command

func GetHighestProposalFlagValue added in v0.3.3

func GetHighestProposalFlagValue(c *cobra.Command) ([]uint64, error)

GetHighestProposalFlagValue gets the highest proposal flag from the command

func GetHighestSourceFlagValue

func GetHighestSourceFlagValue(c *cobra.Command) ([]uint64, error)

GetHighestSourceFlagValue gets the highest source flag from the command

func GetHighestTargetFlagValue

func GetHighestTargetFlagValue(c *cobra.Command) ([]uint64, error)

GetHighestTargetFlagValue gets the highest target flag from the command

func GetPrivateKeyFlagName added in v1.1.1

func GetPrivateKeyFlagName() string

GetPrivateKeyFlagName gets privateKeyFlag name

func GetPrivateKeyFlagValue added in v1.0.8

func GetPrivateKeyFlagValue(c *cobra.Command) (string, error)

GetPrivateKeyFlagValue returns the value of private key

func GetPublicKeyFlagValue

func GetPublicKeyFlagValue(c *cobra.Command) (string, error)

GetPublicKeyFlagValue gets the public key flag from the command

func GetStorageFlagValue

func GetStorageFlagValue(c *cobra.Command) (string, error)

GetStorageFlagValue gets the storage flag from the command

func GetToExecutionAddressFlagValue added in v1.3.0

func GetToExecutionAddressFlagValue(c *cobra.Command) ([]bellatrix.ExecutionAddress, error)

GetToExecutionAddressFlagValue gets the validator withdrawal address flag from the command

func GetValidatorIndexFlagValue added in v1.3.0

func GetValidatorIndexFlagValue(c *cobra.Command) (phase0.ValidatorIndex, error)

GetValidatorIndexFlagValue gets the validator index flag from the command

func GetValidatorIndicesFlagValue added in v1.3.0

func GetValidatorIndicesFlagValue(c *cobra.Command) ([]uint64, error)

GetValidatorIndicesFlagValue gets the validator indices flag from the command

func GetValidatorInfoFlagValue added in v1.3.0

func GetValidatorInfoFlagValue(c *cobra.Command) ([]*core.ValidatorInfo, error)

GetValidatorInfoFlagValue gets the validator info flag from the command

func GetValidatorPublicKeyFlagValue added in v1.3.0

func GetValidatorPublicKeyFlagValue(c *cobra.Command) (phase0.BLSPubKey, error)

GetValidatorPublicKeyFlagValue gets the validator public key flag from the command

func GetValidatorPublicKeysFlagValue added in v1.3.0

func GetValidatorPublicKeysFlagValue(c *cobra.Command) ([]phase0.BLSPubKey, error)

GetValidatorPublicKeysFlagValue gets the validator public keys flag from the command

func GetVoluntaryExitInfoFlagValue added in v1.3.0

func GetVoluntaryExitInfoFlagValue(c *cobra.Command) (*core.ValidatorInfo, error)

GetVoluntaryExitInfoFlagValue gets the voluntary exit info flag from the command

func GetWithdrawalCredentialsFlagValue added in v1.3.0

func GetWithdrawalCredentialsFlagValue(c *cobra.Command) ([][]byte, error)

GetWithdrawalCredentialsFlagValue returns the value of withdrawal credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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