Documentation ¶
Overview ¶
nolint
Index ¶
- func GetCmdQueryDelegatorRewards(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryOutstandingRewards(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorCommission(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorSlashes(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSetWithdrawAddr(cdc *codec.Codec) *cobra.Command
- func GetCmdWithdrawRewards(cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *amino.Codec) *cobra.Command
- type PrettyParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryDelegatorRewards ¶
GetCmdQueryDelegatorRewards implements the query delegator rewards command.
func GetCmdQueryOutstandingRewards ¶ added in v0.30.0
GetCmdQueryOutstandingRewards implements the query outstanding rewards command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryValidatorCommission ¶
GetCmdQueryValidatorCommission implements the query validator commission command.
func GetCmdQueryValidatorSlashes ¶
GetCmdQueryValidatorSlashes implements the query validator slashes command.
func GetCmdSetWithdrawAddr ¶
GetCmdDelegate implements the delegate command.
func GetCmdWithdrawRewards ¶
command to withdraw rewards
Types ¶
type PrettyParams ¶ added in v0.30.0
type PrettyParams struct { CommunityTax json.RawMessage `json:"community_tax"` BaseProposerReward json.RawMessage `json:"base_proposer_reward"` BonusProposerReward json.RawMessage `json:"bonus_proposer_reward"` WithdrawAddrEnabled json.RawMessage `json:"withdraw_addr_enabled"` }
Convenience struct for CLI output
func NewPrettyParams ¶ added in v0.30.0
func NewPrettyParams(communityTax json.RawMessage, baseProposerReward json.RawMessage, bonusProposerReward json.RawMessage, withdrawAddrEnabled json.RawMessage) PrettyParams
Construct a new PrettyParams
func (PrettyParams) String ¶ added in v0.30.0
func (pp PrettyParams) String() string
Click to show internal directories.
Click to hide internal directories.