"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useAcknowledgement = exports.useTimeout = exports.useRecvPacket = exports.useSendPacket = void 0;
const vue_query_1 = require("../../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
/**
 * SendPacket defines a rpc handler method for MsgSendPacket.
 * @name useSendPacket
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.SendPacket
 */
exports.useSendPacket = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.sendPacket
});
/**
 * RecvPacket defines a rpc handler method for MsgRecvPacket.
 * @name useRecvPacket
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.RecvPacket
 */
exports.useRecvPacket = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.recvPacket
});
/**
 * Timeout defines a rpc handler method for MsgTimeout.
 * @name useTimeout
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.Timeout
 */
exports.useTimeout = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.timeout
});
/**
 * Acknowledgement defines a rpc handler method for MsgAcknowledgement.
 * @name useAcknowledgement
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.Acknowledgement
 */
exports.useAcknowledgement = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.acknowledgement
});
