Documentation ¶
Index ¶
- func GetCmdQueryIndicators(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryRewardWeight(cdc *codec.Codec) *cobra.Command
- func GetCmdQuerySeigniorageProceeds(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryTaxCap(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryTaxProceeds(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryTaxRate(cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitRewardWeightUpdateProposal(cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitTaxRateUpdateProposal(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(cdc *codec.Codec) *cobra.Command
- type RewardWeightUpdateProposalJSON
- type TaxRateUpdateProposalJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryIndicators ¶ added in v0.4.0
GetCmdQueryIndicators implements the query params command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryRewardWeight ¶ added in v0.3.0
GetCmdQueryRewardWeight implements the query reward-weight command.
func GetCmdQuerySeigniorageProceeds ¶ added in v0.0.7
GetCmdQuerySeigniorageProceeds implements the query seigniorage-proceeds command.
func GetCmdQueryTaxCap ¶
GetCmdQueryTaxCap implements the query taxcap command.
func GetCmdQueryTaxProceeds ¶ added in v0.0.7
GetCmdQueryTaxProceeds implements the query tax-proceeds command.
func GetCmdQueryTaxRate ¶
GetCmdQueryTaxRate implements the query tax-rate command.
func GetCmdSubmitRewardWeightUpdateProposal ¶ added in v0.3.0
GetCmdSubmitRewardWeightUpdateProposal implements the command to submit a reward-weight-update proposal
func GetCmdSubmitTaxRateUpdateProposal ¶ added in v0.3.0
GetCmdSubmitTaxRateUpdateProposal implements the command to submit a tax-rate-update proposal
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.