"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resetCircuitBreaker = exports.tripCircuitBreaker = exports.authorizeCircuitBreaker = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const tx_1 = require("./tx");
/**
 * AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another
 * account's circuit breaker permissions.
 * @name authorizeCircuitBreaker
 * @package cosmos.circuit.v1
 * @see proto service: cosmos.circuit.v1.AuthorizeCircuitBreaker
 */
exports.authorizeCircuitBreaker = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgAuthorizeCircuitBreaker
});
/**
 * TripCircuitBreaker pauses processing of Msg's in the state machine.
 * @name tripCircuitBreaker
 * @package cosmos.circuit.v1
 * @see proto service: cosmos.circuit.v1.TripCircuitBreaker
 */
exports.tripCircuitBreaker = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgTripCircuitBreaker
});
/**
 * ResetCircuitBreaker resumes processing of Msg's in the state machine that
 * have been been paused using TripCircuitBreaker.
 * @name resetCircuitBreaker
 * @package cosmos.circuit.v1
 * @see proto service: cosmos.circuit.v1.ResetCircuitBreaker
 */
exports.resetCircuitBreaker = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgResetCircuitBreaker
});
