"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useUpdateConnectionParams = exports.useConnectionOpenConfirm = exports.useConnectionOpenAck = exports.useConnectionOpenTry = exports.useConnectionOpenInit = void 0;
const vue_query_1 = require("../../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
/**
 * ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.
 * @name useConnectionOpenInit
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionOpenInit
 */
exports.useConnectionOpenInit = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.connectionOpenInit
});
/**
 * ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.
 * @name useConnectionOpenTry
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionOpenTry
 */
exports.useConnectionOpenTry = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.connectionOpenTry
});
/**
 * ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.
 * @name useConnectionOpenAck
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionOpenAck
 */
exports.useConnectionOpenAck = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.connectionOpenAck
});
/**
 * ConnectionOpenConfirm defines a rpc handler method for
 * MsgConnectionOpenConfirm.
 * @name useConnectionOpenConfirm
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.ConnectionOpenConfirm
 */
exports.useConnectionOpenConfirm = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.connectionOpenConfirm
});
/**
 * UpdateConnectionParams defines a rpc handler method for
 * MsgUpdateParams.
 * @name useUpdateConnectionParams
 * @package ibc.core.connection.v1
 * @see proto service: ibc.core.connection.v1.UpdateConnectionParams
 */
exports.useUpdateConnectionParams = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.updateConnectionParams
});
