Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RestLogger tmLog.Logger
RestLogger for staking module logger
Functions ¶
func DepositTxStatusHandlerFn ¶
func DepositTxStatusHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
DepositTxStatusHandlerFn returns deposit tx status information
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes registers checkpoint-related REST handlers to a router
Types ¶
type AddRecordReq ¶
type AddRecordReq struct { BaseReq rest.BaseReq `json:"base_req"` TxHash types.HeimdallHash `json:"tx_hash"` LogIndex uint64 `json:"log_index"` BlockNumber uint64 `json:"block_number" yaml:"block_number"` ID uint64 `json:"id"` ContractAddress string `json:"contract_address" yaml:"contract_address"` BorChainID string `json:"bor_chain_id"` Data string `json:"data"` }
AddRecordReq add validator request object
Click to show internal directories.
Click to hide internal directories.