Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestDenom = "denom" RestEpoch = "epoch" )
Defines wildcard part of the request paths
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RewardWeightUpdateProposalReq ¶
type RewardWeightUpdateProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` RewardWeight sdk.Dec `json:"reward_weight" yaml:"reward_weight"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
RewardWeightUpdateProposalReq defines a tax-rate-update proposal request body.
type TaxRateUpdateProposalReq ¶
type TaxRateUpdateProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` TaxRate sdk.Dec `json:"tax_rate" yaml:"tax_rate"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
TaxRateUpdateProposalReq defines a tax-rate-update proposal request body.
Click to show internal directories.
Click to hide internal directories.