client

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdQueryAttestationByNonce added in v1.0.0

func CmdQueryAttestationByNonce() *cobra.Command

func CmdQueryEVMAddress added in v1.0.0

func CmdQueryEVMAddress() *cobra.Command

func CmdRegisterEVMAddress added in v1.0.0

func CmdRegisterEVMAddress() *cobra.Command

func GetQueryCmd added in v1.0.0

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI query commands for this module

func GetTxCmd added in v1.0.0

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func VerifyCmd

func VerifyCmd() *cobra.Command

func VerifyDataRootInclusion

func VerifyDataRootInclusion(
	_ context.Context,
	qgbWrapper *wrapper.Wrappers,
	nonce uint64,
	height uint64,
	dataRoot []byte,
	proof merkle.Proof,
) (bool, error)

func VerifyShares

func VerifyShares(ctx context.Context, logger tmlog.Logger, config VerifyConfig, height uint64, startShare uint64, endShare uint64) (isCommittedTo bool, err error)

Types

type VerifyConfig

type VerifyConfig struct {
	CelestiaChainID                  string
	EVMRPC, CelesGRPC, TendermintRPC string
	EVMChainID                       uint64
	ContractAddr                     ethcmn.Address
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL