Documentation ¶
Index ¶
- func RegisterHandlers(clientCtx client.Context, rtr *mux.Router)
- func SimulatePrepayHandlerFn(clientCtx client.Context) http.HandlerFunc
- func UozPriceHandlerFn(clientCtx client.Context) http.HandlerFunc
- func UozSupplyHandlerFn(clientCtx client.Context) http.HandlerFunc
- type FileUploadReq
- type PrepayReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶ added in v0.8.0
RegisterHandlers registers register-related REST handlers to a router
func SimulatePrepayHandlerFn ¶ added in v0.4.0
func SimulatePrepayHandlerFn(clientCtx client.Context) http.HandlerFunc
SimulatePrepayHandlerFn HTTP request handler to query the simulated purchased amt of prepay
func UozPriceHandlerFn ¶ added in v0.4.0
func UozPriceHandlerFn(clientCtx client.Context) http.HandlerFunc
UozPriceHandlerFn HTTP request handler to query ongoing uoz price
func UozSupplyHandlerFn ¶ added in v0.4.0
func UozSupplyHandlerFn(clientCtx client.Context) http.HandlerFunc
UozSupplyHandlerFn HTTP request handler to query uoz supply details
Types ¶
type FileUploadReq ¶
type FileUploadReq struct { BaseReq sdktrest.BaseReq `json:"base_req" yaml:"base_req"` Reporter string `json:"reporter" yaml:"reporter"` FileHash string `json:"file_hash" yaml:"file_hash"` Uploader string `json:"uploader" yaml:"uploader"` }
FileUploadReq defines the properties of a file upload request's body.
Click to show internal directories.
Click to hide internal directories.