"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetUnreceivedAcks = exports.useGetUnreceivedPackets = exports.useGetPacketReceipt = exports.useGetPacketAcknowledgements = exports.useGetPacketAcknowledgement = exports.useGetPacketCommitments = exports.useGetPacketCommitment = exports.useGetNextSequenceSend = void 0;
const vue_query_1 = require("../../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * NextSequenceSend returns the next send sequence for a given channel.
 * @name useGetNextSequenceSend
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.NextSequenceSend
 */
exports.useGetNextSequenceSend = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getNextSequenceSend,
    queryKeyPrefix: "NextSequenceSendQuery"
});
/**
 * PacketCommitment queries a stored packet commitment hash.
 * @name useGetPacketCommitment
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketCommitment
 */
exports.useGetPacketCommitment = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getPacketCommitment,
    queryKeyPrefix: "PacketCommitmentQuery"
});
/**
 * PacketCommitments queries a stored packet commitment hash.
 * @name useGetPacketCommitments
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketCommitments
 */
exports.useGetPacketCommitments = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getPacketCommitments,
    queryKeyPrefix: "PacketCommitmentsQuery"
});
/**
 * PacketAcknowledgement queries a stored acknowledgement commitment hash.
 * @name useGetPacketAcknowledgement
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketAcknowledgement
 */
exports.useGetPacketAcknowledgement = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getPacketAcknowledgement,
    queryKeyPrefix: "PacketAcknowledgementQuery"
});
/**
 * PacketAcknowledgements returns all packet acknowledgements associated with a channel.
 * @name useGetPacketAcknowledgements
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketAcknowledgements
 */
exports.useGetPacketAcknowledgements = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getPacketAcknowledgements,
    queryKeyPrefix: "PacketAcknowledgementsQuery"
});
/**
 * PacketReceipt queries a stored packet receipt.
 * @name useGetPacketReceipt
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketReceipt
 */
exports.useGetPacketReceipt = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getPacketReceipt,
    queryKeyPrefix: "PacketReceiptQuery"
});
/**
 * UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.
 * @name useGetUnreceivedPackets
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.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.v2
 * @see proto service: ibc.core.channel.v2.UnreceivedAcks
 */
exports.useGetUnreceivedAcks = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getUnreceivedAcks,
    queryKeyPrefix: "UnreceivedAcksQuery"
});
