Documentation ¶
Overview ¶
nolint
nolint
Index ¶
- func GetChangeDistributionTypeProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- func GetCmdCommunityPoolSpendProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- func GetCmdQueryCommunityPool(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDelegatorRewards(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 GetCmdQueryValidatorOutstandingRewards(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryWithdrawAddr(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSetWithdrawAddr(cdc *codec.Codec) *cobra.Command
- func GetCmdWithdrawAllRewards(cdc *codec.Codec, queryRoute string) *cobra.Command
- func GetCmdWithdrawRewards(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetRewardTruncatePrecisionProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func GetWithdrawRewardEnabledProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- type ChangeDistributionTypeProposalJSON
- type CommunityPoolSpendProposalJSON
- type RewardTruncatePrecisonProposalJSON
- type WithdrawRewardEnabledProposalJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangeDistributionTypeProposal ¶ added in v1.6.3
func GetChangeDistributionTypeProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetChangeDistributionTypeProposal implements the command to submit a change-distr-type proposal
func GetCmdCommunityPoolSpendProposal ¶ added in v1.6.3
func GetCmdCommunityPoolSpendProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetCmdCommunityPoolSpendProposal implements the command to submit a community-pool-spend proposal
func GetCmdQueryCommunityPool ¶
GetCmdQueryCommunityPool returns the command for fetching community pool info
func GetCmdQueryDelegatorRewards ¶ added in v1.6.3
GetCmdQueryDelegatorRewards implements the query delegator rewards command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryValidatorCommission ¶
GetCmdQueryValidatorCommission implements the query validator commission command.
func GetCmdQueryValidatorOutstandingRewards ¶ added in v1.6.3
GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.
func GetCmdQueryWithdrawAddr ¶ added in v1.6.3
GetCmdQueryWithdrawAddr implements the query the delegator's withdraw address for commission and reward
func GetCmdSetWithdrawAddr ¶
command to replace a delegator's withdrawal address
func GetCmdWithdrawAllRewards ¶ added in v1.6.3
GetCmdWithdrawAllRewards command to withdraw all rewards
func GetCmdWithdrawRewards ¶
GetCmdWithdrawRewards command to withdraw rewards
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetRewardTruncatePrecisionProposal ¶ added in v1.6.4
func GetRewardTruncatePrecisionProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetRewardTruncatePrecisionProposal implements the command to submit a reward-truncate-precision proposal
func GetWithdrawRewardEnabledProposal ¶ added in v1.6.3
func GetWithdrawRewardEnabledProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetWithdrawRewardEnabledProposal implements the command to submit a withdraw-reward-enabled proposal
Types ¶
type ChangeDistributionTypeProposalJSON ¶ added in v1.6.3
type ChangeDistributionTypeProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Type uint32 `json:"type" yaml:"type"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
ChangeDistributionTypeProposalJSON defines a ChangeDistributionTypeProposal with a deposit
func ParseChangeDistributionTypeProposalJSON ¶ added in v1.6.3
func ParseChangeDistributionTypeProposalJSON(cdc *codec.Codec, proposalFile string) (ChangeDistributionTypeProposalJSON, error)
ParseChangeDistributionTypeProposalJSON reads and parses a ChangeDistributionTypeProposalJSON from a file.
type CommunityPoolSpendProposalJSON ¶
type CommunityPoolSpendProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Recipient sdk.AccAddress `json:"recipient" yaml:"recipient"` Amount sdk.SysCoins `json:"amount" yaml:"amount"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
CommunityPoolSpendProposalJSON defines a CommunityPoolSpendProposal with a deposit
func ParseCommunityPoolSpendProposalJSON ¶
func ParseCommunityPoolSpendProposalJSON(cdc *codec.Codec, proposalFile string) (CommunityPoolSpendProposalJSON, error)
ParseCommunityPoolSpendProposalJSON reads and parses a CommunityPoolSpendProposalJSON from a file.
type RewardTruncatePrecisonProposalJSON ¶ added in v1.6.4
type RewardTruncatePrecisonProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` Precision int64 `json:"precision" yaml:"precision"` }
RewardTruncatePrecisonProposalJSON defines a RewardTruncatePrecisionProposal with a deposit
func ParseRewardTruncatePrecisionProposalJSON ¶ added in v1.6.4
func ParseRewardTruncatePrecisionProposalJSON(cdc *codec.Codec, proposalFile string) (RewardTruncatePrecisonProposalJSON, error)
ParseRewardTruncatePrecisionProposalJSON reads and parses a RewardTruncatePrecisonProposalJSON from a file.
type WithdrawRewardEnabledProposalJSON ¶ added in v1.6.3
type WithdrawRewardEnabledProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Enabled bool `json:"enabled" yaml:"enabled"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
WithdrawRewardEnabledProposalJSON defines a WithdrawRewardEnabledProposal with a deposit
func ParseWithdrawRewardEnabledProposalJSON ¶ added in v1.6.3
func ParseWithdrawRewardEnabledProposalJSON(cdc *codec.Codec, proposalFile string) (WithdrawRewardEnabledProposalJSON, error)
ParseWithdrawRewardEnabledProposalJSON reads and parses a WithdrawRewardEnabledProposalJSON from a file.