Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalCancelRESTHandler ¶ added in v0.40.0
func ProposalCancelRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func ProposalRESTHandler ¶
func ProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type CancelRequest ¶
type CancelRequest struct {
BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
Title string `json:"title" yaml:"title"`
Description string `json:"description" yaml:"description"`
Deposit sdk.Coins `json:"deposit" yaml:"deposit"`
}
CancelRequest defines a proposal to cancel a current plan.
type PlanRequest ¶
type PlanRequest struct {
BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
Title string `json:"title" yaml:"title"`
Description string `json:"description" yaml:"description"`
Deposit sdk.Coins `json:"deposit" yaml:"deposit"`
UpgradeName string `json:"upgrade_name" yaml:"upgrade_name"`
UpgradeHeight int64 `json:"upgrade_height" yaml:"upgrade_height"`
UpgradeInfo string `json:"upgrade_info" yaml:"upgrade_info"`
}
PlanRequest defines a proposal for a new upgrade plan.
Click to show internal directories.
Click to hide internal directories.