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 ¶
func GetChangeDistributionTypeProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetChangeDistributionTypeProposal implements the command to submit a change-distr-type proposal
func GetCmdCommunityPoolSpendProposal ¶
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 ¶
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 ¶
GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.
func GetCmdQueryWithdrawAddr ¶
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 ¶
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 ¶
func GetRewardTruncatePrecisionProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetRewardTruncatePrecisionProposal implements the command to submit a reward-truncate-precision proposal
func GetWithdrawRewardEnabledProposal ¶
func GetWithdrawRewardEnabledProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
GetWithdrawRewardEnabledProposal implements the command to submit a withdraw-reward-enabled proposal
Types ¶
type ChangeDistributionTypeProposalJSON ¶
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 ¶
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 ¶
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 ¶
func ParseRewardTruncatePrecisionProposalJSON(cdc *codec.Codec, proposalFile string) (RewardTruncatePrecisonProposalJSON, error)
ParseRewardTruncatePrecisionProposalJSON reads and parses a RewardTruncatePrecisonProposalJSON from a file.
type WithdrawRewardEnabledProposalJSON ¶
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 ¶
func ParseWithdrawRewardEnabledProposalJSON(cdc *codec.Codec, proposalFile string) (WithdrawRewardEnabledProposalJSON, error)
ParseWithdrawRewardEnabledProposalJSON reads and parses a WithdrawRewardEnabledProposalJSON from a file.