Documentation ¶
Index ¶
- func GetEVMValidators(cliCtx context.CLIContext) http.HandlerFunc
- func GetHealthStatus(cliCtx context.CLIContext) http.HandlerFunc
- func GetProofHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func GetProviderStatus(cliCtx context.CLIContext) http.HandlerFunc
- func LatestBlocksRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func LatestTxsRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func MakeOtherStoresMerkleHash(mspo rootmulti.MultiStoreProofOp) (cmn.HexBytes, cmn.HexBytes, cmn.HexBytes)
- func RecoverETHAddress(msg, sig, signer []byte) ([]byte, uint8, error)
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func ServeSwaggerUI() http.Handler
- type BlockHeaderMerkleParts
- type BlockHeaderMerklePartsEthereum
- type BlockRelayProof
- type IAVLMerklePath
- type IAVLMerklePathEthereum
- type JsonProof
- type OracleDataProof
- type Proof
- type TMSignature
- type TMSignatureEthereum
- type ValidatorMinimal
- type ValidatorsMinimal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEVMValidators ¶
func GetEVMValidators(cliCtx context.CLIContext) http.HandlerFunc
func GetHealthStatus ¶
func GetHealthStatus(cliCtx context.CLIContext) http.HandlerFunc
func GetProofHandlerFn ¶
func GetProofHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func GetProviderStatus ¶
func GetProviderStatus(cliCtx context.CLIContext) http.HandlerFunc
func LatestBlocksRequestHandlerFn ¶
func LatestBlocksRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func LatestTxsRequestHandlerFn ¶
func LatestTxsRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
func ServeSwaggerUI ¶
Types ¶
type BlockHeaderMerkleParts ¶
type BlockHeaderMerkleParts struct { VersionAndChainIdHash cmn.HexBytes `json:"versionAndChainIdHash"` TimeHash cmn.HexBytes `json:"timeHash"` TxCountAndLastBlockInfoHash cmn.HexBytes `json:"txCountAndLastBlockInfoHash"` ConsensusDataHash cmn.HexBytes `json:"consensusDataHash"` LastResultsHash cmn.HexBytes `json:"lastResultsHash"` EvidenceAndProposerHash cmn.HexBytes `json:"evidenceAndProposerHash"` }
type BlockRelayProof ¶
type BlockRelayProof struct { OracleIAVLStateHash cmn.HexBytes `json:"oracleIAVLStateHash"` OtherStoresMerkleHash cmn.HexBytes `json:"otherStoresMerkleHash"` SupplyStoresMerkleHash cmn.HexBytes `json:"supplyStoresMerkleHash"` BlockHeaderMerkleParts BlockHeaderMerkleParts `json:"blockHeaderMerkleParts"` SignedDataPrefix cmn.HexBytes `json:"signedDataPrefix"` Signatures []TMSignature `json:"signatures"` }
func GetBlockRelayProof ¶
func GetBlockRelayProof(cliCtx context.CLIContext, blockId uint64) (BlockRelayProof, error)
type IAVLMerklePath ¶
type IAVLMerklePathEthereum ¶
type JsonProof ¶
type JsonProof struct { BlockHeight uint64 `json:"blockHeight"` OracleDataProof OracleDataProof `json:"oracleDataProof"` BlockRelayProof BlockRelayProof `json:"blockRelayProof"` }
type OracleDataProof ¶
type OracleDataProof struct { Version uint64 `json:"version"` RequestID zoracle.RequestID `json:"requestID"` OracleScriptID zoracle.OracleScriptID `json:"oracleScriptID"` Calldata cmn.HexBytes `json:"calldata"` Data cmn.HexBytes `json:"data"` MerklePaths []IAVLMerklePath `json:"merklePaths"` }
type TMSignature ¶
type TMSignatureEthereum ¶
type ValidatorMinimal ¶
type ValidatorsMinimal ¶
type ValidatorsMinimal struct { BlockHeight int64 `json:"block_height"` Validators []ValidatorMinimal `json:"validators"` }
Click to show internal directories.
Click to hide internal directories.