cli

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdQueryParams

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

GetCmdQueryParams implements the query params command.

func GetCmdQueryRewardWeight added in v0.3.0

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

GetCmdQueryRewardWeight implements the query reward-weight command.

func GetCmdQuerySeigniorageProceeds added in v0.0.7

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

GetCmdQuerySeigniorageProceeds implements the query seigniorage-proceeds command.

func GetCmdQueryTaxCap

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

GetCmdQueryTaxCap implements the query taxcap command.

func GetCmdQueryTaxProceeds added in v0.0.7

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

GetCmdQueryTaxProceeds implements the query tax-proceeds command.

func GetCmdQueryTaxRate

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

GetCmdQueryTaxRate implements the query tax-rate command.

func GetCmdSubmitRewardWeightUpdateProposal added in v0.3.0

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

GetCmdSubmitRewardWeightUpdateProposal implements the command to submit a reward-weight-update proposal

func GetCmdSubmitTaxRateUpdateProposal added in v0.3.0

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

GetCmdSubmitTaxRateUpdateProposal implements the command to submit a tax-rate-update proposal

func GetQueryCmd added in v0.3.0

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

GetQueryCmd returns the cli query commands for this module

Types

type RewardWeightUpdateProposalJSON added in v0.3.0

type RewardWeightUpdateProposalJSON struct {
	Title        string    `json:"title" yaml:"title"`
	Description  string    `json:"description" yaml:"description"`
	RewardWeight sdk.Dec   `json:"tax_rate" yaml:"tax_rate"`
	Deposit      sdk.Coins `json:"deposit" yaml:"deposit"`
}

RewardWeightUpdateProposalJSON defines a RewardWeightUpdateProposal with a deposit

func ParseRewardWeightUpdateProposalJSON added in v0.3.0

func ParseRewardWeightUpdateProposalJSON(cdc *codec.Codec, proposalFile string) (RewardWeightUpdateProposalJSON, error)

ParseRewardWeightUpdateProposalJSON reads and parses a RewardWeightUpdateProposalJSON from a file.

type TaxRateUpdateProposalJSON added in v0.3.0

type TaxRateUpdateProposalJSON struct {
	Title       string    `json:"title" yaml:"title"`
	Description string    `json:"description" yaml:"description"`
	TaxRate     sdk.Dec   `json:"tax_rate" yaml:"tax_rate"`
	Deposit     sdk.Coins `json:"deposit" yaml:"deposit"`
}

TaxRateUpdateProposalJSON defines a TaxRateUpdateProposal with a deposit

func ParseTaxRateUpdateProposalJSON added in v0.3.0

func ParseTaxRateUpdateProposalJSON(cdc *codec.Codec, proposalFile string) (TaxRateUpdateProposalJSON, error)

ParseTaxRateUpdateProposalJSON reads and parses a TaxRateUpdateProposalJSON from a file.

Jump to

Keyboard shortcuts

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