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