utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryCleanPacketCommitment added in v0.2.0

func QueryCleanPacketCommitment(
	clientCtx client.Context, sourceChain, destChain string, prove bool,
) (
	*types.QueryCleanPacketCommitmentResponse, error,
)

QueryCleanPacketCommitment returns the clean packet commitment. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.

func QueryPacketAcknowledgement

func QueryPacketAcknowledgement(
	clientCtx client.Context, sourceChain, destChain string, sequence uint64, prove bool,
) (
	*types.QueryPacketAcknowledgementResponse, error,
)

QueryPacketAcknowledgement returns the data about a packet acknowledgement. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client

func QueryPacketCommitment

func QueryPacketCommitment(
	clientCtx client.Context, sourceChain, destChain string,
	sequence uint64, prove bool,
) (*types.QueryPacketCommitmentResponse, error)

QueryPacketCommitment returns a packet commitment. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.

func QueryPacketReceipt

func QueryPacketReceipt(
	clientCtx client.Context, sourceChain, destChain string,
	sequence uint64, prove bool,
) (*types.QueryPacketReceiptResponse, error)

QueryPacketReceipt returns data about a packet receipt. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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