cosmos-sdk: github.com/cosmos/cosmos-sdk/x/ibc/04-channel/client/utils Index | Files

package utils

import "github.com/cosmos/cosmos-sdk/x/ibc/04-channel/client/utils"

Index

Package Files

utils.go

func QueryChannel Uses

func QueryChannel(
    clientCtx client.Context, portID, channelID string, prove bool,
) (*types.QueryChannelResponse, error)

QueryChannel returns a channel end. 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 QueryChannelClientState Uses

func QueryChannelClientState(
    clientCtx client.Context, portID, channelID string, prove bool,
) (*types.QueryChannelClientStateResponse, error)

QueryChannelClientState returns the ClientState of a channel end. 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 QueryChannelConsensusState Uses

func QueryChannelConsensusState(
    clientCtx client.Context, portID, channelID string, height uint64, prove bool,
) (*types.QueryChannelConsensusStateResponse, error)

QueryChannelConsensusState returns the ConsensusState of a channel end. 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 QueryCounterpartyConsensusState Uses

func QueryCounterpartyConsensusState(
    clientCtx client.Context, portID, channelID string, height uint64,
) (clientexported.ConsensusState, uint64, error)

QueryCounterpartyConsensusState uses the channel Querier to return the counterparty ConsensusState given the source port ID and source channel ID.

func QueryNextSequenceReceive Uses

func QueryNextSequenceReceive(
    clientCtx client.Context, portID, channelID string, prove bool,
) (*types.QueryNextSequenceReceiveResponse, error)

QueryNextSequenceReceive returns the next sequence receive. 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 Uses

func QueryPacketCommitment(
    clientCtx client.Context, portID, channelID 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.

Package utils imports 9 packages (graph) and is imported by 3 packages. Updated 2020-08-13. Refresh now. Tools for package owners.