client

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdQueryAttestationByNonce

func CmdQueryAttestationByNonce() *cobra.Command

func CmdQueryEVMAddress

func CmdQueryEVMAddress() *cobra.Command

func CmdRegisterEVMAddress

func CmdRegisterEVMAddress() *cobra.Command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func VerifyCmd

func VerifyCmd() *cobra.Command

func VerifyDataRootInclusion

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

func VerifyShares

func VerifyShares(ctx context.Context, logger tmlog.Logger, config VerifyConfig, height int64, 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