cli

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Overview

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChangeDistributionTypeProposal added in v1.6.3

func GetChangeDistributionTypeProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command

GetChangeDistributionTypeProposal implements the command to submit a change-distr-type proposal

func GetCmdCommunityPoolSpendProposal added in v1.6.3

func GetCmdCommunityPoolSpendProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command

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

func GetCmdQueryCommunityPool

func GetCmdQueryCommunityPool(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryCommunityPool returns the command for fetching community pool info

func GetCmdQueryDelegatorRewards added in v1.6.3

func GetCmdQueryDelegatorRewards(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryDelegatorRewards implements the query delegator rewards command.

func GetCmdQueryParams

func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryValidatorCommission

func GetCmdQueryValidatorCommission(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidatorCommission implements the query validator commission command.

func GetCmdQueryValidatorOutstandingRewards added in v1.6.3

func GetCmdQueryValidatorOutstandingRewards(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidatorOutstandingRewards implements the query validator outstanding rewards command.

func GetCmdQueryWithdrawAddr added in v1.6.3

func GetCmdQueryWithdrawAddr(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryWithdrawAddr implements the query the delegator's withdraw address for commission and reward

func GetCmdSetWithdrawAddr

func GetCmdSetWithdrawAddr(cdc *codec.Codec) *cobra.Command

command to replace a delegator's withdrawal address

func GetCmdWithdrawAllRewards added in v1.6.3

func GetCmdWithdrawAllRewards(cdc *codec.Codec, queryRoute string) *cobra.Command

GetCmdWithdrawAllRewards command to withdraw all rewards

func GetCmdWithdrawRewards

func GetCmdWithdrawRewards(cdc *codec.Codec) *cobra.Command

GetCmdWithdrawRewards command to withdraw rewards

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetRewardTruncatePrecisionProposal added in v1.6.4

func GetRewardTruncatePrecisionProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command

GetRewardTruncatePrecisionProposal implements the command to submit a reward-truncate-precision proposal

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

func GetWithdrawRewardEnabledProposal added in v1.6.3

func GetWithdrawRewardEnabledProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command

GetWithdrawRewardEnabledProposal implements the command to submit a withdraw-reward-enabled proposal

Types

type ChangeDistributionTypeProposalJSON added in v1.6.3

type ChangeDistributionTypeProposalJSON struct {
	Title       string       `json:"title" yaml:"title"`
	Description string       `json:"description" yaml:"description"`
	Type        uint32       `json:"type" yaml:"type"`
	Deposit     sdk.SysCoins `json:"deposit" yaml:"deposit"`
}

ChangeDistributionTypeProposalJSON defines a ChangeDistributionTypeProposal with a deposit

func ParseChangeDistributionTypeProposalJSON added in v1.6.3

func ParseChangeDistributionTypeProposalJSON(cdc *codec.Codec, proposalFile string) (ChangeDistributionTypeProposalJSON, error)

ParseChangeDistributionTypeProposalJSON reads and parses a ChangeDistributionTypeProposalJSON from a file.

type CommunityPoolSpendProposalJSON

type CommunityPoolSpendProposalJSON struct {
	Title       string         `json:"title" yaml:"title"`
	Description string         `json:"description" yaml:"description"`
	Recipient   sdk.AccAddress `json:"recipient" yaml:"recipient"`
	Amount      sdk.SysCoins   `json:"amount" yaml:"amount"`
	Deposit     sdk.SysCoins   `json:"deposit" yaml:"deposit"`
}

CommunityPoolSpendProposalJSON defines a CommunityPoolSpendProposal with a deposit

func ParseCommunityPoolSpendProposalJSON

func ParseCommunityPoolSpendProposalJSON(cdc *codec.Codec, proposalFile string) (CommunityPoolSpendProposalJSON, error)

ParseCommunityPoolSpendProposalJSON reads and parses a CommunityPoolSpendProposalJSON from a file.

type RewardTruncatePrecisonProposalJSON added in v1.6.4

type RewardTruncatePrecisonProposalJSON struct {
	Title       string       `json:"title" yaml:"title"`
	Description string       `json:"description" yaml:"description"`
	Deposit     sdk.SysCoins `json:"deposit" yaml:"deposit"`
	Precision   int64        `json:"precision" yaml:"precision"`
}

RewardTruncatePrecisonProposalJSON defines a RewardTruncatePrecisionProposal with a deposit

func ParseRewardTruncatePrecisionProposalJSON added in v1.6.4

func ParseRewardTruncatePrecisionProposalJSON(cdc *codec.Codec, proposalFile string) (RewardTruncatePrecisonProposalJSON, error)

ParseRewardTruncatePrecisionProposalJSON reads and parses a RewardTruncatePrecisonProposalJSON from a file.

type WithdrawRewardEnabledProposalJSON added in v1.6.3

type WithdrawRewardEnabledProposalJSON struct {
	Title       string       `json:"title" yaml:"title"`
	Description string       `json:"description" yaml:"description"`
	Enabled     bool         `json:"enabled" yaml:"enabled"`
	Deposit     sdk.SysCoins `json:"deposit" yaml:"deposit"`
}

WithdrawRewardEnabledProposalJSON defines a WithdrawRewardEnabledProposal with a deposit

func ParseWithdrawRewardEnabledProposalJSON added in v1.6.3

func ParseWithdrawRewardEnabledProposalJSON(cdc *codec.Codec, proposalFile string) (WithdrawRewardEnabledProposalJSON, error)

ParseWithdrawRewardEnabledProposalJSON reads and parses a WithdrawRewardEnabledProposalJSON from a file.

Jump to

Keyboard shortcuts

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