cli

package
v0.41.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxMessagesPerTxDefault = 5
)

Variables

View Source
var (
	FlagCommission       = "commission"
	FlagMaxMessagesPerTx = "max-msgs"
)

Transaction flags for the x/distribution module

Functions

func GetCmdQueryCommunityPool added in v0.41.4

func GetCmdQueryCommunityPool() *cobra.Command

GetCmdQueryCommunityPool returns the command for fetching community pool info.

func GetCmdQueryDelegatorRewards added in v0.30.0

func GetCmdQueryDelegatorRewards() *cobra.Command

GetCmdQueryDelegatorRewards implements the query delegator rewards command.

func GetCmdQueryParams added in v0.30.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryValidatorCommission added in v0.30.0

func GetCmdQueryValidatorCommission() *cobra.Command

GetCmdQueryValidatorCommission implements the query validator commission command.

func GetCmdQueryValidatorOutstandingRewards added in v0.33.0

func GetCmdQueryValidatorOutstandingRewards() *cobra.Command

GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.

func GetCmdQueryValidatorSlashes added in v0.30.0

func GetCmdQueryValidatorSlashes() *cobra.Command

GetCmdQueryValidatorSlashes implements the query validator slashes command.

func GetCmdSubmitProposal added in v0.41.4

func GetCmdSubmitProposal() *cobra.Command

GetCmdSubmitProposal implements the command to submit a community-pool-spend proposal

func GetQueryCmd added in v0.41.4

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewFundCommunityPoolCmd added in v0.41.4

func NewFundCommunityPoolCmd() *cobra.Command

func NewSetWithdrawAddrCmd added in v0.41.4

func NewSetWithdrawAddrCmd() *cobra.Command

func NewTxCmd added in v0.41.4

func NewTxCmd() *cobra.Command

NewTxCmd returns a root CLI command handler for all x/distribution transaction commands.

func NewWithdrawAllRewardsCmd added in v0.41.4

func NewWithdrawAllRewardsCmd() *cobra.Command

func NewWithdrawRewardsCmd added in v0.41.4

func NewWithdrawRewardsCmd() *cobra.Command

func ParseCommunityPoolSpendProposalWithDeposit added in v0.41.4

func ParseCommunityPoolSpendProposalWithDeposit(cdc codec.JSONMarshaler, proposalFile string) (types.CommunityPoolSpendProposalWithDeposit, error)

ParseCommunityPoolSpendProposalWithDeposit reads and parses a CommunityPoolSpendProposalWithDeposit from a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL