"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createModuleQuerySafe = exports.createUpdateParams = void 0;
const helper_func_types_1 = require("../../../../../helper-func-types");
const utils_1 = require("@interchainjs/cosmos/utils");
const tx_1 = require("./tx");
const createUpdateParams = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgUpdateParams.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgUpdateParams),
    converters: (0, utils_1.toConverters)(tx_1.MsgUpdateParams)
});
exports.createUpdateParams = createUpdateParams;
const createModuleQuerySafe = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgModuleQuerySafe.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgModuleQuerySafe),
    converters: (0, utils_1.toConverters)(tx_1.MsgModuleQuerySafe)
});
exports.createModuleQuerySafe = createModuleQuerySafe;
