Documentation
¶
Index ¶
- func RegisterHandlers(clientCtx client.Context, rtr *mux.Router)
- func RegisterXatpProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func UnregisterXatpProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- type RegisterXatpProposalReq
- type UnregisterXatpProposalReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterXatpProposalRESTHandler ¶
func RegisterXatpProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func UnregisterXatpProposalRESTHandler ¶
func UnregisterXatpProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type RegisterXatpProposalReq ¶
type RegisterXatpProposalReq struct { BaseReq rest.BaseReq `json:"base_req,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Xatp types.XATP `json:"xatp,omitempty"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit,omitempty"` }
type UnregisterXatpProposalReq ¶
type UnregisterXatpProposalReq struct { BaseReq rest.BaseReq `json:"base_req,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Denom string `json:"denom,omitempty"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit,omitempty"` }
Click to show internal directories.
Click to hide internal directories.