cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddressValidator    = "validator"
	FlagAddressValidatorSrc = "addr-validator-source"
	FlagAddressValidatorDst = "addr-validator-dest"
	FlagPubKey              = "pubkey"
	FlagAmount              = "amount"

	FlagMoniker         = "moniker"
	FlagEditMoniker     = "new-moniker"
	FlagIdentity        = "identity"
	FlagWebsite         = "website"
	FlagSecurityContact = "security-contact"
	FlagDetails         = "details"

	FlagCommissionRate = "commission-rate"

	FlagNodeID = "node-id"
	FlagIP     = "ip"
)

Variables

default values

Functions

func FlagSetAmount

func FlagSetAmount() *flag.FlagSet

FlagSetAmount Returns the FlagSet for amount related operations.

func FlagSetCommissionCreate

func FlagSetCommissionCreate() *flag.FlagSet

FlagSetCommissionCreate Returns the FlagSet used for commission create.

func FlagSetPublicKey

func FlagSetPublicKey() *flag.FlagSet

FlagSetPublicKey Returns the flagset for Public Key related operations.

func GetCmdQueryCustomCoinPrice

func GetCmdQueryCustomCoinPrice() *cobra.Command

GetCmdQueryCustomCoinPrice query custom coin price for delegation command

func GetCmdQueryDelegations

func GetCmdQueryDelegations() *cobra.Command

GetCmdQueryDelegations implements the query all delegations from a validator-delegator pair command.

func GetCmdQueryDelegatorDelegations

func GetCmdQueryDelegatorDelegations() *cobra.Command

GetCmdQueryDelegatorDelegations implements the query all delegations from a delegator command.

func GetCmdQueryDelegatorRedelegations

func GetCmdQueryDelegatorRedelegations() *cobra.Command

GetCmdQueryDelegatorRedelegations implements the query all redelegations from a delegator command.

func GetCmdQueryDelegatorUndelegations

func GetCmdQueryDelegatorUndelegations() *cobra.Command

GetCmdQueryDelegatorUndelegations implements the query all unbonding delegations from a delegator command.

func GetCmdQueryDelegatorValidator

func GetCmdQueryDelegatorValidator() *cobra.Command

GetCmdQueryDelegatorValidator implements the query validator info for given delegator validator pair command.

func GetCmdQueryDelegatorValidators

func GetCmdQueryDelegatorValidators() *cobra.Command

GetCmdQueryDelegatorValidators implements the query all validators delegated by the delegator command.

func GetCmdQueryHistoricalInfo

func GetCmdQueryHistoricalInfo() *cobra.Command

GetCmdQueryHistoricalInfo implements the historical info query command

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the params query command.

func GetCmdQueryPool

func GetCmdQueryPool() *cobra.Command

GetCmdQueryPool implements the pool query command.

func GetCmdQueryRedelegations

func GetCmdQueryRedelegations() *cobra.Command

GetCmdQueryRedelegations implements the query all redelegations from a validator-delegator pair command.

func GetCmdQueryTotalCustomCoin

func GetCmdQueryTotalCustomCoin() *cobra.Command

GetCmdQueryTotalCustomCoin query bonded custom coin amount info command

func GetCmdQueryUndelegation

func GetCmdQueryUndelegation() *cobra.Command

GetCmdQueryUndelegation implements the query unbonding delegation from a validator-delegator pair command.

func GetCmdQueryValidator

func GetCmdQueryValidator() *cobra.Command

GetCmdQueryValidator implements the validator query command.

func GetCmdQueryValidatorDelegations

func GetCmdQueryValidatorDelegations() *cobra.Command

GetCmdQueryValidatorDelegations implements the query all delegatations from a validator command.

func GetCmdQueryValidatorRedelegations

func GetCmdQueryValidatorRedelegations() *cobra.Command

GetCmdQueryValidatorRedelegations implements the query all redelegatations from a validator command.

func GetCmdQueryValidatorUndelegations

func GetCmdQueryValidatorUndelegations() *cobra.Command

GetCmdQueryValidatorUndelegations implements the query all unbonding delegatations from a validator command.

func GetCmdQueryValidators

func GetCmdQueryValidators() *cobra.Command

GetCmdQueryValidators implements the query all validators command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns a root CLI command handler for all x/staking transaction commands.

func NewCancelRedelegateCmd

func NewCancelRedelegateCmd() *cobra.Command

NewCancelRedelegateCmd returns a CLI command handler for creating a MsgCancelRedelegate transaction.

func NewCancelRedelegateNFTCmd

func NewCancelRedelegateNFTCmd() *cobra.Command

NewCancelRedelegateNFTCmd returns a CLI command handler for creating a MsgCancelRedelegateNFT transaction.

func NewCancelUndelegateCmd

func NewCancelUndelegateCmd() *cobra.Command

NewCancelUndelegateCmd returns a CLI command handler for creating a MsgCancelUndelegate transaction.

func NewCancelUndelegateNFTCmd

func NewCancelUndelegateNFTCmd() *cobra.Command

NewCancelUndelegateNFTCmd returns a CLI command handler for creating a MsgCancelUndelegateNFT transaction.

func NewCreateValidatorCmd

func NewCreateValidatorCmd() *cobra.Command

NewCreateValidatorCmd returns a CLI command handler for creating a MsgCreateValidator transaction.

func NewDelegateCmd

func NewDelegateCmd() *cobra.Command

NewDelegateCmd returns a CLI command handler for creating a MsgDelegate transaction.

func NewDelegateNFTCmd

func NewDelegateNFTCmd() *cobra.Command

NewDelegateNFTCmd returns a CLI command handler for creating a MsgDelegateNFT transaction.

func NewEditValidatorCmd

func NewEditValidatorCmd() *cobra.Command

NewEditValidatorCmd returns a CLI command handler for creating a MsgEditValidator transaction.

func NewRedelegateCmd

func NewRedelegateCmd() *cobra.Command

NewRedelegateCmd returns a CLI command handler for creating a MsgRedelegate transaction.

func NewRedelegateNFTCmd

func NewRedelegateNFTCmd() *cobra.Command

NewRedelegateNFTCmd returns a CLI command handler for creating a MsgRedelegateNFT transaction.

func NewSetOfflineCmd

func NewSetOfflineCmd() *cobra.Command

NewSetOfflineCmd returns a CLI command handler for creating a MsgSetOnline transaction.

func NewSetOnlineCmd

func NewSetOnlineCmd() *cobra.Command

NewSetOnlineCmd returns a CLI command handler for creating a MsgSetOnline transaction.

func NewUndelegateCmd

func NewUndelegateCmd() *cobra.Command

NewUndelegateCmd returns a CLI command handler for creating a MsgUndelegate transaction.

func NewUndelegateNFTCmd

func NewUndelegateNFTCmd() *cobra.Command

NewUndelegateNFTCmd returns a CLI command handler for creating a MsgDelegateNFT transaction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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