Documentation ¶
Overview ¶
Package rest defines the RESTful service for the cert module.
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 community pool spend REST handler with a given sub-route.
Types ¶
type CertifierUpdateProposalReq ¶
type CertifierUpdateProposalReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` Certifier sdk.AccAddress `json:"certifier" yaml:"certifier"` Alias string `json:"alias" yaml:"alias"` AddOrRemove types.AddOrRemove `json:"add_or_remove" yaml:"add_or_remove"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` }
CertifierUpdateProposalReq defines a certifier update proposal request body.
Click to show internal directories.
Click to hide internal directories.