Documentation ¶
Index ¶
- func GetCmdValSetPref() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewDelValSetCmd() (*osmocli.TxCliDesc, *types.MsgDelegateToValidatorSet)
- func NewMsgReDelValidatorSetPreference(clientCtx client.Context, args []string, fs *pflag.FlagSet) (sdk.Msg, error)
- func NewMsgSetValidatorSetPreference(clientCtx client.Context, args []string, fs *pflag.FlagSet) (sdk.Msg, error)
- func NewReDelValSetCmd() (*osmocli.TxCliDesc, *types.MsgRedelegateValidatorSet)
- func NewSetValSetCmd() (*osmocli.TxCliDesc, *types.MsgSetValidatorSetPreference)
- func NewUnDelValSetCmd() (*osmocli.TxCliDesc, *types.MsgUndelegateFromValidatorSet)
- func NewWithRewValSetCmd() (*osmocli.TxCliDesc, *types.MsgWithdrawDelegationRewards)
- func ValidateValAddrAndWeight(args []string) ([]types.ValidatorPreference, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdValSetPref ¶
GetCmdValSetPref takes the address and returns the existing validator set for that address.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module.
func NewDelValSetCmd ¶
func NewDelValSetCmd() (*osmocli.TxCliDesc, *types.MsgDelegateToValidatorSet)
func NewReDelValSetCmd ¶
func NewReDelValSetCmd() (*osmocli.TxCliDesc, *types.MsgRedelegateValidatorSet)
func NewSetValSetCmd ¶
func NewSetValSetCmd() (*osmocli.TxCliDesc, *types.MsgSetValidatorSetPreference)
func NewUnDelValSetCmd ¶
func NewUnDelValSetCmd() (*osmocli.TxCliDesc, *types.MsgUndelegateFromValidatorSet)
func NewWithRewValSetCmd ¶
func NewWithRewValSetCmd() (*osmocli.TxCliDesc, *types.MsgWithdrawDelegationRewards)
func ValidateValAddrAndWeight ¶
func ValidateValAddrAndWeight(args []string) ([]types.ValidatorPreference, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.