Documentation ¶
Overview ¶
nolint
Index ¶
- func GetCmdQueryCommunityPool(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 GetCmdSetWithdrawAddr(cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitProposal(cdc *codec.Codec) *cobra.Command
- func GetCmdWithdrawRewards(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- type CommunityPoolSpendProposalJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryCommunityPool ¶
GetCmdQueryCommunityPool returns the command for fetching community pool info
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryValidatorCommission ¶
GetCmdQueryValidatorCommission implements the query validator commission command.
func GetCmdSetWithdrawAddr ¶
command to replace a delegator's withdrawal address
func GetCmdSubmitProposal ¶
GetCmdSubmitProposal implements the command to submit a community-pool-spend proposal
func GetCmdWithdrawRewards ¶
GetCmdWithdrawRewards command to withdraw rewards
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
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.