"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteClientCreator = exports.updateClientParams = exports.iBCSoftwareUpgrade = exports.recoverClient = exports.submitMisbehaviour = exports.upgradeClient = exports.updateClient = exports.createClient = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const tx_1 = require("./tx");
/**
 * CreateClient defines a rpc handler method for MsgCreateClient.
 * @name createClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.CreateClient
 */
exports.createClient = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgCreateClient
});
/**
 * UpdateClient defines a rpc handler method for MsgUpdateClient.
 * @name updateClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpdateClient
 */
exports.updateClient = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgUpdateClient
});
/**
 * UpgradeClient defines a rpc handler method for MsgUpgradeClient.
 * @name upgradeClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpgradeClient
 */
exports.upgradeClient = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgUpgradeClient
});
/**
 * SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.
 * @name submitMisbehaviour
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.SubmitMisbehaviour
 */
exports.submitMisbehaviour = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgSubmitMisbehaviour
});
/**
 * RecoverClient defines a rpc handler method for MsgRecoverClient.
 * @name recoverClient
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.RecoverClient
 */
exports.recoverClient = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgRecoverClient
});
/**
 * IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.
 * @name iBCSoftwareUpgrade
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.IBCSoftwareUpgrade
 */
exports.iBCSoftwareUpgrade = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgIBCSoftwareUpgrade
});
/**
 * UpdateClientParams defines a rpc handler method for MsgUpdateParams.
 * @name updateClientParams
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpdateClientParams
 */
exports.updateClientParams = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgUpdateParams
});
/**
 * DeleteClientCreator defines a rpc handler method for MsgDeleteClientCreator.
 * @name deleteClientCreator
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.DeleteClientCreator
 */
exports.deleteClientCreator = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgDeleteClientCreator
});
