Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModuleStoreKey = "module_store_key" ToContract = "to_contract" FromChainId = "from_chain_id" ModuleName = "module_name" )
Variables ¶
This section is empty.
Functions ¶
func ProcessCrossChainTxRequestHandlerFn ¶
func ProcessCrossChainTxRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
SendRequestHandlerFn - http request handler to send coins to a address.
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, queryRoute string)
RegisterRoutes registers minting module REST handlers on the provided router.
Types ¶
type ProcessCrossChainTxReq ¶
type ProcessCrossChainTxReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` FromChainId uint64 `json:"from_chain_id" yaml:"from_chain_id"` Proof string `json:"proof" yaml:"proof"` Header string `json:"header" yaml:"header"` HeaderProof string `json:"header_proof" yaml:"header_proof"` CurHeader string `json:"cur_header" yaml:"cur_header"` }
SendReq defines the properties of a send request's body.
Click to show internal directories.
Click to hide internal directories.