cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxMessagesPerTxDefault = 0
)

Variables

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

Transaction flags for the x/distribution module

Functions

func GetCmdQueryCommunityPool

func GetCmdQueryCommunityPool() *cobra.Command

GetCmdQueryCommunityPool returns the command for fetching community pool info.

func GetCmdQueryDelegatorRewards

func GetCmdQueryDelegatorRewards() *cobra.Command

GetCmdQueryDelegatorRewards implements the query delegator rewards command.

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryTokenizeShareRecordReward added in v0.0.2

func GetCmdQueryTokenizeShareRecordReward() *cobra.Command

GetCmdQueryTokenizeShareRecordReward implements the query tokenize share record rewards

func GetCmdQueryValidatorCommission

func GetCmdQueryValidatorCommission() *cobra.Command

GetCmdQueryValidatorCommission implements the query validator commission command.

func GetCmdQueryValidatorOutstandingRewards

func GetCmdQueryValidatorOutstandingRewards() *cobra.Command

GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.

func GetCmdQueryValidatorSlashes

func GetCmdQueryValidatorSlashes() *cobra.Command

GetCmdQueryValidatorSlashes implements the query validator slashes command.

func GetCmdSubmitProposal

func GetCmdSubmitProposal() *cobra.Command

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

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewFundCommunityPoolCmd

func NewFundCommunityPoolCmd() *cobra.Command

func NewSetWithdrawAddrCmd

func NewSetWithdrawAddrCmd() *cobra.Command

func NewTxCmd

func NewTxCmd() *cobra.Command

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

func NewWithdrawAllRewardsCmd

func NewWithdrawAllRewardsCmd() *cobra.Command

func NewWithdrawAllTokenizeShareRecordRewardCmd added in v1.0.0

func NewWithdrawAllTokenizeShareRecordRewardCmd() *cobra.Command

WithdrawAllTokenizeShareRecordReward defines a method to withdraw reward for all owning TokenizeShareRecord

func NewWithdrawRewardsCmd

func NewWithdrawRewardsCmd() *cobra.Command

func NewWithdrawTokenizeShareRecordRewardCmd

func NewWithdrawTokenizeShareRecordRewardCmd() *cobra.Command

WithdrawTokenizeShareRecordReward defines a method to withdraw reward for an 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.

Jump to

Keyboard shortcuts

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