Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdQueryCommunityPool() *cobra.Command
- func GetCmdQueryDelegatorRewards() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryValidatorCommission() *cobra.Command
- func GetCmdQueryValidatorDistributionInfo() *cobra.Command
- func GetCmdQueryValidatorOutstandingRewards() *cobra.Command
- func GetCmdQueryValidatorSlashes() *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
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 GetCmdQueryValidatorCommission ¶
GetCmdQueryValidatorCommission implements the query validator commission command.
func GetCmdQueryValidatorDistributionInfo ¶
GetCmdQueryValidatorDistributionInfo implements the query validator distribution info command.
func GetCmdQueryValidatorOutstandingRewards ¶
GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.
func GetCmdQueryValidatorSlashes ¶
GetCmdQueryValidatorSlashes implements the query validator slashes command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewFundCommunityPoolCmd ¶
NewFundCommunityPoolCmd returns a CLI command handler for creating a MsgFundCommunityPool transaction.
func NewSetWithdrawAddrCmd ¶
NewSetWithdrawAddrCmd returns a CLI command handler for creating a MsgSetWithdrawAddress transaction.
func NewTxCmd ¶
NewTxCmd returns a root CLI command handler for all x/distribution transaction commands.
func NewWithdrawAllRewardsCmd ¶
NewWithdrawAllRewardsCmd returns a CLI command handler for creating a MsgWithdrawDelegatorReward transaction.
func NewWithdrawRewardsCmd ¶
NewWithdrawRewardsCmd returns a CLI command handler for creating a MsgWithdrawDelegatorReward transaction.
Types ¶
This section is empty.