"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetNextSequenceSend = exports.useGetNextSequenceReceive = exports.useGetUnreceivedAcks = exports.useGetUnreceivedPackets = exports.useGetPacketAcknowledgements = exports.useGetPacketAcknowledgement = exports.useGetPacketReceipt = exports.useGetPacketCommitments = exports.useGetPacketCommitment = exports.useGetChannelConsensusState = exports.useGetChannelClientState = exports.useGetConnectionChannels = exports.useGetChannels = exports.useGetChannel = void 0;
const vue_query_1 = require("../../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * Channel queries an IBC Channel.
 * @name useGetChannel
 * @package ibc.core.channel.v1
 * @see proto service: ibc.core.channel.v1.Channel
 */
exports.useGetChannel = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetChannels = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetConnectionChannels = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetChannelClientState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetChannelConsensusState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetPacketCommitment = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetPacketCommitments = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetPacketReceipt = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetPacketAcknowledgement = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetPacketAcknowledgements = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetUnreceivedPackets = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetUnreceivedAcks = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetNextSequenceReceive = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetNextSequenceSend = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getNextSequenceSend,
    queryKeyPrefix: "NextSequenceSendQuery"
});
