interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
24 lines (23 loc) • 792 B
JavaScript
import { buildTx } from "../../../helper-func-types";
import { MsgUnjail, MsgUpdateParams } from "./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
*/
export const unjail = buildTx({
msg: MsgUnjail
});
/**
* UpdateParams defines a governance operation for updating the x/slashing module
* parameters. The authority defaults to the x/gov module account.
* @name updateParams
* @package cosmos.slashing.v1beta1
* @see proto service: cosmos.slashing.v1beta1.UpdateParams
*/
export const updateParams = buildTx({
msg: MsgUpdateParams
});