Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdBeginRedelegate(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdBeginUnbonding(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdCreateValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdDelegate(cdc *codec.Codec) *cobra.Command
- func GetCmdEditValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDelegation(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDelegations(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryPool(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryRedelegation(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryRedelegations(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnbondingDelegation(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnbondingDelegations(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidator(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorRedelegations(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorUnbondingDelegations(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidators(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdRedelegate(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdUnbond(storeName string, cdc *codec.Codec) *cobra.Command
Constants ¶
const ( FlagAddressDelegator = "address-delegator" FlagAddressValidator = "validator" FlagAddressValidatorSrc = "addr-validator-source" FlagAddressValidatorDst = "addr-validator-dest" FlagPubKey = "pubkey" FlagAmount = "amount" FlagMoniker = "moniker" FlagIdentity = "identity" FlagWebsite = "website" FlagDetails = "details" FlagCommissionRate = "commission-rate" FlagCommissionMaxRate = "commission-max-rate" FlagCommissionMaxChangeRate = "commission-max-change-rate" FlagGenesisFormat = "genesis-format" FlagNodeID = "node-id" FlagIP = "ip" FlagOutputDocument = "output-document" // inspired by wget -O )
nolint
Variables ¶
var ( FsPk = flag.NewFlagSet("", flag.ContinueOnError) FsAmount = flag.NewFlagSet("", flag.ContinueOnError) FsCommissionCreate = flag.NewFlagSet("", flag.ContinueOnError) )
common flagsets to add to various functions
Functions ¶
func GetCmdBeginRedelegate ¶ added in v0.20.0
GetCmdBeginRedelegate the begin redelegation command.
func GetCmdBeginUnbonding ¶ added in v0.20.0
GetCmdBeginUnbonding implements the begin unbonding validator command.
func GetCmdCreateValidator ¶ added in v0.18.0
GetCmdCreateValidator implements the create validator command handler.
func GetCmdDelegate ¶
GetCmdDelegate implements the delegate command.
func GetCmdEditValidator ¶ added in v0.18.0
GetCmdEditValidator implements the create edit validator command.
func GetCmdQueryDelegation ¶ added in v0.18.0
GetCmdQueryDelegation the query delegation command.
func GetCmdQueryDelegations ¶ added in v0.18.0
GetCmdQueryDelegations implements the command to query all the delegations made from one delegator.
func GetCmdQueryParams ¶ added in v0.25.0
GetCmdQueryPool implements the params query command.
func GetCmdQueryPool ¶ added in v0.25.0
GetCmdQueryPool implements the pool query command.
func GetCmdQueryRedelegation ¶ added in v0.20.0
GetCmdQueryRedelegation implements the command to query a single redelegation record.
func GetCmdQueryRedelegations ¶ added in v0.20.0
GetCmdQueryRedelegations implements the command to query all the redelegation records for a delegator.
func GetCmdQueryUnbondingDelegation ¶ added in v0.20.0
GetCmdQueryUnbondingDelegation implements the command to query a single unbonding-delegation record.
func GetCmdQueryUnbondingDelegations ¶ added in v0.20.0
GetCmdQueryUnbondingDelegations implements the command to query all the unbonding-delegation records for a delegator.
func GetCmdQueryValidator ¶ added in v0.18.0
GetCmdQueryValidator implements the validator query command.
func GetCmdQueryValidatorRedelegations ¶ added in v0.26.0
GetCmdQueryValidatorRedelegations implements the query all redelegatations from a validator command.
func GetCmdQueryValidatorUnbondingDelegations ¶ added in v0.26.0
GetCmdQueryValidatorUnbondingDelegations implements the query all unbonding delegatations from a validator command.
func GetCmdQueryValidators ¶ added in v0.18.0
GetCmdQueryValidators implements the query all validators command.
func GetCmdRedelegate ¶ added in v0.20.0
GetCmdRedelegate implements the redelegate validator command.
Types ¶
This section is empty.