"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useUpdateParams = exports.useSendTx = exports.useRegisterInterchainAccount = void 0;
const vue_query_1 = require("../../../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
/**
 * RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.
 * @name useRegisterInterchainAccount
 * @package ibc.applications.interchain_accounts.controller.v1
 * @see proto service: ibc.applications.interchain_accounts.controller.v1.RegisterInterchainAccount
 */
exports.useRegisterInterchainAccount = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.registerInterchainAccount
});
/**
 * SendTx defines a rpc handler for MsgSendTx.
 * @name useSendTx
 * @package ibc.applications.interchain_accounts.controller.v1
 * @see proto service: ibc.applications.interchain_accounts.controller.v1.SendTx
 */
exports.useSendTx = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.sendTx
});
/**
 * UpdateParams defines a rpc handler for MsgUpdateParams.
 * @name useUpdateParams
 * @package ibc.applications.interchain_accounts.controller.v1
 * @see proto service: ibc.applications.interchain_accounts.controller.v1.UpdateParams
 */
exports.useUpdateParams = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.updateParams
});
