Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalRESTHandler ¶
func ProposalRESTHandler(cliCtx context.CLIContext) govrest.ProposalRESTHandler
ProposalRESTHandler returns a ProposalRESTHandler that exposes the param change REST handler with a given sub-route
func ProposalUpgradeRESTHandler ¶
func ProposalUpgradeRESTHandler(cliCtx context.CLIContext) govrest.ProposalRESTHandler
Types ¶
type UpgradeProposalReq ¶
type UpgradeProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` Name string `json:"name" yaml:"name"` ExpectHeight uint64 `json:"expectHeight" yaml:"expectHeight"` Config string `json:"config,omitempty" yaml:"config,omitempty"` }
UpgradeProposalReq defines a upgrade proposal request body
Click to show internal directories.
Click to hide internal directories.