Documentation ¶
Index ¶
- func CreateRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func IssueRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func LockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, storeName string)
- func TransferRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func UnlockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- type CreateReq
- type IssueReq
- type LockReq
- type TransferReq
- type UnlockReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRequestHandlerFn ¶
func CreateRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func IssueRequestHandlerFn ¶
func IssueRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func LockRequestHandlerFn ¶
func LockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, storeName string)
RegisterRoutes registers the auth module REST routes.
func TransferRequestHandlerFn ¶
func TransferRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func UnlockRequestHandlerFn ¶
func UnlockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
Types ¶
type CreateReq ¶
type CreateReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Creator string `json:"creator" yaml:"creator"` Symbol string `json:"symbol" yaml:"symbol"` MaxSupply string `json:"max_supply" yaml:"max_supply"` CanIssue string `json:"can_issue" yaml:"can_issue"` CanLock string `json:"can_lock" yaml:"can_lock"` IssueToHeight string `json:"issue_to_height" yaml:"issue_to_height"` InitSupply string `json:"init_supply" yaml:"init_supply"` Desc string `json:"desc" yaml:"desc"` }
type TransferReq ¶
Click to show internal directories.
Click to hide internal directories.