utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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