Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdQueryCommunityPool() *cobra.Command
- func GetCmdQueryDelegatorRewards() *cobra.Command
- func GetCmdQueryParams() *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 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 ¶ added in v0.47.0
GetCmdQueryCommunityPool returns the command for fetching community pool info.
func GetCmdQueryDelegatorRewards ¶ added in v0.30.0
GetCmdQueryDelegatorRewards implements the query delegator rewards command.
func GetCmdQueryParams ¶ added in v0.30.0
GetCmdQueryParams implements the query params command.
func GetCmdQueryValidatorCommission ¶ added in v0.30.0
GetCmdQueryValidatorCommission implements the query validator commission command.
func GetCmdQueryValidatorOutstandingRewards ¶ added in v0.33.0
GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.
func GetCmdQueryValidatorSlashes ¶ added in v0.30.0
GetCmdQueryValidatorSlashes implements the query validator slashes command.
func GetCmdSubmitProposal ¶ added in v0.47.0
GetCmdSubmitProposal implements the command to submit a community-pool-spend proposal
func GetQueryCmd ¶ added in v0.47.0
GetQueryCmd returns the cli query commands for this module
func NewFundCommunityPoolCmd ¶ added in v0.47.0
NewFundCommunityPoolCmd returns a CLI command handler for creating a MsgFundCommunityPool transaction.
func NewSetWithdrawAddrCmd ¶ added in v0.47.0
NewSetWithdrawAddrCmd returns a CLI command handler for creating a MsgSetWithdrawAddress transaction.
func NewTxCmd ¶ added in v0.47.0
NewTxCmd returns a root CLI command handler for all x/distribution transaction commands.
func NewWithdrawAllRewardsCmd ¶ added in v0.47.0
NewWithdrawAllRewardsCmd returns a CLI command handler for creating a MsgWithdrawDelegatorReward transaction.
func NewWithdrawRewardsCmd ¶ added in v0.47.0
NewWithdrawRewardsCmd returns a CLI command handler for creating a MsgWithdrawDelegatorReward transaction.
func ParseCommunityPoolSpendProposalWithDeposit ¶ added in v0.47.0
func ParseCommunityPoolSpendProposalWithDeposit(cdc codec.JSONCodec, proposalFile string) (types.CommunityPoolSpendProposalWithDeposit, error)
ParseCommunityPoolSpendProposalWithDeposit reads and parses a CommunityPoolSpendProposalWithDeposit from a file.
Types ¶
This section is empty.