"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useUpdateParams = exports.useUnjail = void 0;
const vue_query_1 = require("../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
/**
 * Unjail defines a method for unjailing a jailed validator, thus returning
 * them into the bonded validator set, so they can begin receiving provisions
 * and rewards again.
 * @name useUnjail
 * @package cosmos.slashing.v1beta1
 * @see proto service: cosmos.slashing.v1beta1.Unjail
 */
exports.useUnjail = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.unjail
});
/**
 * UpdateParams defines a governance operation for updating the x/slashing module
 * parameters. The authority defaults to the x/gov module account.
 * @name useUpdateParams
 * @package cosmos.slashing.v1beta1
 * @see proto service: cosmos.slashing.v1beta1.UpdateParams
 */
exports.useUpdateParams = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.updateParams
});
