Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdQueryCommunityPool() *cobra.Command
- func GetCmdQueryDelegatorRewards() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryTokenizeShareRecordReward() *cobra.Command
- func GetCmdQueryValidatorCommission() *cobra.Command
- func GetCmdQueryValidatorOutstandingRewards() *cobra.Command
- func GetCmdQueryValidatorSlashes() *cobra.Command
- func GetCmdSubmitProposal() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewFundCommunityPoolCmd() *cobra.Command
- func NewSetWithdrawAddrCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
- func NewWithdrawAllRewardsCmd() *cobra.Command
- func NewWithdrawRewardsCmd() *cobra.Command
- func NewWithdrawTokenizeShareRecordRewardCmd() *cobra.Command
- func ParseCommunityPoolSpendProposalWithDeposit(cdc codec.JSONCodec, proposalFile string) (types.CommunityPoolSpendProposalWithDeposit, error)
Constants ¶
const (
MaxMessagesPerTxDefault = 0
)
Variables ¶
var ( FlagCommission = "commission" FlagMaxMessagesPerTx = "max-msgs" )
Transaction flags for the x/distribution module
Functions ¶
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 GetCmdQueryTokenizeShareRecordReward ¶ added in v0.0.2
GetCmdQueryTokenizeShareRecordReward implements the query tokenize share record rewards
func GetCmdQueryValidatorCommission ¶
GetCmdQueryValidatorCommission implements the query validator commission command.
func GetCmdQueryValidatorOutstandingRewards ¶
GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.
func GetCmdQueryValidatorSlashes ¶
GetCmdQueryValidatorSlashes implements the query validator slashes command.
func GetCmdSubmitProposal ¶
GetCmdSubmitProposal implements the command to submit a community-pool-spend proposal
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewFundCommunityPoolCmd ¶
func NewSetWithdrawAddrCmd ¶
func NewTxCmd ¶
NewTxCmd returns a root CLI command handler for all x/distribution transaction commands.
func NewWithdrawRewardsCmd ¶
func NewWithdrawTokenizeShareRecordRewardCmd ¶
WithdrawTokenizeShareRecordReward defines a method to withdraw reward for owning TokenizeShareRecord
func ParseCommunityPoolSpendProposalWithDeposit ¶
func ParseCommunityPoolSpendProposalWithDeposit(cdc codec.JSONCodec, proposalFile string) (types.CommunityPoolSpendProposalWithDeposit, error)
ParseCommunityPoolSpendProposalWithDeposit reads and parses a CommunityPoolSpendProposalWithDeposit from a file.
Types ¶
This section is empty.