"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cancelUpgrade = exports.softwareUpgrade = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const tx_1 = require("./tx");
/**
 * SoftwareUpgrade is a governance operation for initiating a software upgrade.
 * @name softwareUpgrade
 * @package cosmos.upgrade.v1beta1
 * @see proto service: cosmos.upgrade.v1beta1.SoftwareUpgrade
 */
exports.softwareUpgrade = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgSoftwareUpgrade
});
/**
 * CancelUpgrade is a governance operation for cancelling a previously
 * approved software upgrade.
 * @name cancelUpgrade
 * @package cosmos.upgrade.v1beta1
 * @see proto service: cosmos.upgrade.v1beta1.CancelUpgrade
 */
exports.cancelUpgrade = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgCancelUpgrade
});
