Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProposalRESTHandler ¶
func ProposalRESTHandler(cliCtx client.Context) govrest.ProposalRESTHandler
ProposalRESTHandler returns a ProposalRESTHandler that exposes the shield claim REST handler with a given sub-route.
Types ¶
type ShieldClaimProposalReq ¶
type ShieldClaimProposalReq struct { BaseReq resttypes.BaseReq `json:"base_req" yaml:"base_req"` PoolID uint64 `json:"pool_id" yaml:"pool_id"` Loss sdk.Coins `json:"loss" yaml:"loss"` Evidence string `json:"evidence" yaml:"evidence"` PurchaseID uint64 `json:"purchase_id" yaml:"purchase_id"` Description string `json:"description" yaml:"description"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
ShieldClaimProposalReq defines a shield claim proposal request body.
Click to show internal directories.
Click to hide internal directories.