"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createResetCircuitBreaker = exports.createTripCircuitBreaker = exports.createAuthorizeCircuitBreaker = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const utils_1 = require("@interchainjs/cosmos/utils");
const tx_1 = require("./tx");
const createAuthorizeCircuitBreaker = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgAuthorizeCircuitBreaker.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgAuthorizeCircuitBreaker),
    converters: (0, utils_1.toConverters)(tx_1.MsgAuthorizeCircuitBreaker)
});
exports.createAuthorizeCircuitBreaker = createAuthorizeCircuitBreaker;
const createTripCircuitBreaker = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgTripCircuitBreaker.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgTripCircuitBreaker),
    converters: (0, utils_1.toConverters)(tx_1.MsgTripCircuitBreaker)
});
exports.createTripCircuitBreaker = createTripCircuitBreaker;
const createResetCircuitBreaker = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgResetCircuitBreaker.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgResetCircuitBreaker),
    converters: (0, utils_1.toConverters)(tx_1.MsgResetCircuitBreaker)
});
exports.createResetCircuitBreaker = createResetCircuitBreaker;
