Documentation ¶
Index ¶
- Constants
- Variables
- func CmdClaimRewards() *cobra.Command
- func CmdDelegate() *cobra.Command
- func CmdQueryDelegatorProviders() *cobra.Command
- func CmdQueryDelegatorRewards() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdQueryProviderDelegators() *cobra.Command
- func CmdRedelegate() *cobra.Command
- func CmdUnbond() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func GetValidator(clientCtx client.Context) string
Constants ¶
View Source
const WithPendingDelegatorsFlagName = "with-pending"
Variables ¶
Functions ¶
func CmdClaimRewards ¶
func CmdDelegate ¶
func CmdQueryParams ¶
func CmdRedelegate ¶
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetValidator ¶
GetValidator gets a validator that is delegated by the `from` address The dualstaking mecahnism makes providers delegate to a validator when they're staking. Assuming that the `from` address (of the clientCtx) is a staked provider address, this function returns a validator that the provider is delegated to (the one with the largest delegation).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.