"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetChannelParams = exports.useGetUpgrade = exports.useGetUpgradeError = 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");
exports.useGetChannel = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetChannel,
    queryKeyPrefix: "ChannelQuery"
});
exports.useGetChannels = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetChannels,
    queryKeyPrefix: "ChannelsQuery"
});
exports.useGetConnectionChannels = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetConnectionChannels,
    queryKeyPrefix: "ConnectionChannelsQuery"
});
exports.useGetChannelClientState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetChannelClientState,
    queryKeyPrefix: "ChannelClientStateQuery"
});
exports.useGetChannelConsensusState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetChannelConsensusState,
    queryKeyPrefix: "ChannelConsensusStateQuery"
});
exports.useGetPacketCommitment = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetPacketCommitment,
    queryKeyPrefix: "PacketCommitmentQuery"
});
exports.useGetPacketCommitments = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetPacketCommitments,
    queryKeyPrefix: "PacketCommitmentsQuery"
});
exports.useGetPacketReceipt = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetPacketReceipt,
    queryKeyPrefix: "PacketReceiptQuery"
});
exports.useGetPacketAcknowledgement = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetPacketAcknowledgement,
    queryKeyPrefix: "PacketAcknowledgementQuery"
});
exports.useGetPacketAcknowledgements = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetPacketAcknowledgements,
    queryKeyPrefix: "PacketAcknowledgementsQuery"
});
exports.useGetUnreceivedPackets = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetUnreceivedPackets,
    queryKeyPrefix: "UnreceivedPacketsQuery"
});
exports.useGetUnreceivedAcks = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetUnreceivedAcks,
    queryKeyPrefix: "UnreceivedAcksQuery"
});
exports.useGetNextSequenceReceive = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetNextSequenceReceive,
    queryKeyPrefix: "NextSequenceReceiveQuery"
});
exports.useGetNextSequenceSend = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetNextSequenceSend,
    queryKeyPrefix: "NextSequenceSendQuery"
});
exports.useGetUpgradeError = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetUpgradeError,
    queryKeyPrefix: "UpgradeErrorQuery"
});
exports.useGetUpgrade = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetUpgrade,
    queryKeyPrefix: "UpgradeQuery"
});
exports.useGetChannelParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetChannelParams,
    queryKeyPrefix: "ChannelParamsQuery"
});
