interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
29 lines (28 loc) • 988 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateParams = exports.unjail = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const tx_1 = require("./tx");
/**
* 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 unjail
* @package cosmos.slashing.v1beta1
* @see proto service: cosmos.slashing.v1beta1.Unjail
*/
exports.unjail = (0, helper_func_types_1.buildTx)({
msg: tx_1.MsgUnjail
});
/**
* UpdateParams defines a governance operation for updating the x/slashing module
* parameters. The authority defaults to the x/gov module account.
*
* Since: cosmos-sdk 0.47
* @name updateParams
* @package cosmos.slashing.v1beta1
* @see proto service: cosmos.slashing.v1beta1.UpdateParams
*/
exports.updateParams = (0, helper_func_types_1.buildTx)({
msg: tx_1.MsgUpdateParams
});