"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useDeleteClientCreator = exports.useUpdateClientParams = exports.useIBCSoftwareUpgrade = exports.useRecoverClient = exports.useSubmitMisbehaviour = exports.useUpgradeClient = exports.useUpdateClient = exports.useCreateClient = void 0;
const vue_query_1 = require("../../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
/**
 * CreateClient defines a rpc handler method for MsgCreateClient.
 * @name useCreateClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.CreateClient
 */
exports.useCreateClient = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createClient
});
/**
 * UpdateClient defines a rpc handler method for MsgUpdateClient.
 * @name useUpdateClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpdateClient
 */
exports.useUpdateClient = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.updateClient
});
/**
 * UpgradeClient defines a rpc handler method for MsgUpgradeClient.
 * @name useUpgradeClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpgradeClient
 */
exports.useUpgradeClient = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.upgradeClient
});
/**
 * SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.
 * @name useSubmitMisbehaviour
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.SubmitMisbehaviour
 */
exports.useSubmitMisbehaviour = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.submitMisbehaviour
});
/**
 * RecoverClient defines a rpc handler method for MsgRecoverClient.
 * @name useRecoverClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.RecoverClient
 */
exports.useRecoverClient = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.recoverClient
});
/**
 * IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.
 * @name useIBCSoftwareUpgrade
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.IBCSoftwareUpgrade
 */
exports.useIBCSoftwareUpgrade = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.iBCSoftwareUpgrade
});
/**
 * UpdateClientParams defines a rpc handler method for MsgUpdateParams.
 * @name useUpdateClientParams
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpdateClientParams
 */
exports.useUpdateClientParams = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.updateClientParams
});
/**
 * DeleteClientCreator defines a rpc handler method for MsgDeleteClientCreator.
 * @name useDeleteClientCreator
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.DeleteClientCreator
 */
exports.useDeleteClientCreator = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.deleteClientCreator
});
