"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useCancelUpgrade = exports.useSoftwareUpgrade = void 0;
const vue_query_1 = require("../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
/**
 * SoftwareUpgrade is a governance operation for initiating a software upgrade.
 * @name useSoftwareUpgrade
 * @package cosmos.upgrade.v1beta1
 * @see proto service: cosmos.upgrade.v1beta1.SoftwareUpgrade
 */
exports.useSoftwareUpgrade = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.softwareUpgrade
});
/**
 * CancelUpgrade is a governance operation for cancelling a previously
 * approved software upgrade.
 * @name useCancelUpgrade
 * @package cosmos.upgrade.v1beta1
 * @see proto service: cosmos.upgrade.v1beta1.CancelUpgrade
 */
exports.useCancelUpgrade = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.cancelUpgrade
});
