import { buildUseVueQuery } from "../../../../vue-query";
import { getChannel, getChannels, getConnectionChannels, getChannelClientState, getChannelConsensusState, getPacketCommitment, getPacketCommitments, getPacketReceipt, getPacketAcknowledgement, getPacketAcknowledgements, getUnreceivedPackets, getUnreceivedAcks, getNextSequenceReceive, getNextSequenceSend } from "./query.rpc.func";
/**
 * Channel queries an IBC Channel.
 * @name useGetChannel
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.Channel
 */
export const useGetChannel = buildUseVueQuery({
    builderQueryFn: getChannel,
    queryKeyPrefix: "ChannelQuery"
});
/**
 * Channels queries all the IBC channels of a chain.
 * @name useGetChannels
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.Channels
 */
export const useGetChannels = buildUseVueQuery({
    builderQueryFn: getChannels,
    queryKeyPrefix: "ChannelsQuery"
});
/**
 * ConnectionChannels queries all the channels associated with a connection
 * end.
 * @name useGetConnectionChannels
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.ConnectionChannels
 */
export const useGetConnectionChannels = buildUseVueQuery({
    builderQueryFn: getConnectionChannels,
    queryKeyPrefix: "ConnectionChannelsQuery"
});
/**
 * ChannelClientState queries for the client state for the channel associated
 * with the provided channel identifiers.
 * @name useGetChannelClientState
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.ChannelClientState
 */
export const useGetChannelClientState = buildUseVueQuery({
    builderQueryFn: getChannelClientState,
    queryKeyPrefix: "ChannelClientStateQuery"
});
/**
 * ChannelConsensusState queries for the consensus state for the channel
 * associated with the provided channel identifiers.
 * @name useGetChannelConsensusState
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.ChannelConsensusState
 */
export const useGetChannelConsensusState = buildUseVueQuery({
    builderQueryFn: getChannelConsensusState,
    queryKeyPrefix: "ChannelConsensusStateQuery"
});
/**
 * PacketCommitment queries a stored packet commitment hash.
 * @name useGetPacketCommitment
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.PacketCommitment
 */
export const useGetPacketCommitment = buildUseVueQuery({
    builderQueryFn: getPacketCommitment,
    queryKeyPrefix: "PacketCommitmentQuery"
});
/**
 * PacketCommitments returns all the packet commitments hashes associated
 * with a channel.
 * @name useGetPacketCommitments
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.PacketCommitments
 */
export const useGetPacketCommitments = buildUseVueQuery({
    builderQueryFn: getPacketCommitments,
    queryKeyPrefix: "PacketCommitmentsQuery"
});
/**
 * PacketReceipt queries if a given packet sequence has been received on the
 * queried chain
 * @name useGetPacketReceipt
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.PacketReceipt
 */
export const useGetPacketReceipt = buildUseVueQuery({
    builderQueryFn: getPacketReceipt,
    queryKeyPrefix: "PacketReceiptQuery"
});
/**
 * PacketAcknowledgement queries a stored packet acknowledgement hash.
 * @name useGetPacketAcknowledgement
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.PacketAcknowledgement
 */
export const useGetPacketAcknowledgement = buildUseVueQuery({
    builderQueryFn: getPacketAcknowledgement,
    queryKeyPrefix: "PacketAcknowledgementQuery"
});
/**
 * PacketAcknowledgements returns all the packet acknowledgements associated
 * with a channel.
 * @name useGetPacketAcknowledgements
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.PacketAcknowledgements
 */
export const useGetPacketAcknowledgements = buildUseVueQuery({
    builderQueryFn: getPacketAcknowledgements,
    queryKeyPrefix: "PacketAcknowledgementsQuery"
});
/**
 * UnreceivedPackets returns all the unreceived IBC packets associated with a
 * channel and sequences.
 * @name useGetUnreceivedPackets
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.UnreceivedPackets
 */
export const useGetUnreceivedPackets = buildUseVueQuery({
    builderQueryFn: getUnreceivedPackets,
    queryKeyPrefix: "UnreceivedPacketsQuery"
});
/**
 * UnreceivedAcks returns all the unreceived IBC acknowledgements associated
 * with a channel and sequences.
 * @name useGetUnreceivedAcks
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.UnreceivedAcks
 */
export const useGetUnreceivedAcks = buildUseVueQuery({
    builderQueryFn: getUnreceivedAcks,
    queryKeyPrefix: "UnreceivedAcksQuery"
});
/**
 * NextSequenceReceive returns the next receive sequence for a given channel.
 * @name useGetNextSequenceReceive
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.NextSequenceReceive
 */
export const useGetNextSequenceReceive = buildUseVueQuery({
    builderQueryFn: getNextSequenceReceive,
    queryKeyPrefix: "NextSequenceReceiveQuery"
});
/**
 * NextSequenceSend returns the next send sequence for a given channel.
 * @name useGetNextSequenceSend
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.NextSequenceSend
 */
export const useGetNextSequenceSend = buildUseVueQuery({
    builderQueryFn: getNextSequenceSend,
    queryKeyPrefix: "NextSequenceSendQuery"
});
