"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.registry = exports.load = exports.MessageComposer = void 0;
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
var _tx = require("./tx");
var registry = [["/injective.exchange.v1beta1.MsgDeposit", _tx.MsgDeposit], ["/injective.exchange.v1beta1.MsgWithdraw", _tx.MsgWithdraw], ["/injective.exchange.v1beta1.MsgInstantSpotMarketLaunch", _tx.MsgInstantSpotMarketLaunch], ["/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch", _tx.MsgInstantPerpetualMarketLaunch], ["/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch", _tx.MsgInstantExpiryFuturesMarketLaunch], ["/injective.exchange.v1beta1.MsgCreateSpotLimitOrder", _tx.MsgCreateSpotLimitOrder], ["/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders", _tx.MsgBatchCreateSpotLimitOrders], ["/injective.exchange.v1beta1.MsgCreateSpotMarketOrder", _tx.MsgCreateSpotMarketOrder], ["/injective.exchange.v1beta1.MsgCancelSpotOrder", _tx.MsgCancelSpotOrder], ["/injective.exchange.v1beta1.MsgBatchCancelSpotOrders", _tx.MsgBatchCancelSpotOrders], ["/injective.exchange.v1beta1.MsgBatchUpdateOrders", _tx.MsgBatchUpdateOrders], ["/injective.exchange.v1beta1.MsgExec", _tx.MsgExec], ["/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder", _tx.MsgCreateDerivativeLimitOrder], ["/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders", _tx.MsgBatchCreateDerivativeLimitOrders], ["/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder", _tx.MsgCreateDerivativeMarketOrder], ["/injective.exchange.v1beta1.MsgCancelDerivativeOrder", _tx.MsgCancelDerivativeOrder], ["/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders", _tx.MsgBatchCancelDerivativeOrders], ["/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch", _tx.MsgInstantBinaryOptionsMarketLaunch], ["/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder", _tx.MsgCreateBinaryOptionsLimitOrder], ["/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder", _tx.MsgCreateBinaryOptionsMarketOrder], ["/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder", _tx.MsgCancelBinaryOptionsOrder], ["/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders", _tx.MsgBatchCancelBinaryOptionsOrders], ["/injective.exchange.v1beta1.MsgSubaccountTransfer", _tx.MsgSubaccountTransfer], ["/injective.exchange.v1beta1.MsgExternalTransfer", _tx.MsgExternalTransfer], ["/injective.exchange.v1beta1.MsgLiquidatePosition", _tx.MsgLiquidatePosition], ["/injective.exchange.v1beta1.MsgIncreasePositionMargin", _tx.MsgIncreasePositionMargin], ["/injective.exchange.v1beta1.MsgRewardsOptOut", _tx.MsgRewardsOptOut], ["/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket", _tx.MsgAdminUpdateBinaryOptionsMarket]];
exports.registry = registry;
var load = function load(protoRegistry) {
  registry.forEach(function (_ref) {
    var _ref2 = (0, _slicedToArray2["default"])(_ref, 2),
      typeUrl = _ref2[0],
      mod = _ref2[1];
    protoRegistry.register(typeUrl, mod);
  });
};
exports.load = load;
var MessageComposer = {
  encoded: {
    deposit: function deposit(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgDeposit",
        value: _tx.MsgDeposit.encode(value).finish()
      };
    },
    withdraw: function withdraw(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgWithdraw",
        value: _tx.MsgWithdraw.encode(value).finish()
      };
    },
    instantSpotMarketLaunch: function instantSpotMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantSpotMarketLaunch",
        value: _tx.MsgInstantSpotMarketLaunch.encode(value).finish()
      };
    },
    instantPerpetualMarketLaunch: function instantPerpetualMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch",
        value: _tx.MsgInstantPerpetualMarketLaunch.encode(value).finish()
      };
    },
    instantExpiryFuturesMarketLaunch: function instantExpiryFuturesMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch",
        value: _tx.MsgInstantExpiryFuturesMarketLaunch.encode(value).finish()
      };
    },
    createSpotLimitOrder: function createSpotLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder",
        value: _tx.MsgCreateSpotLimitOrder.encode(value).finish()
      };
    },
    batchCreateSpotLimitOrders: function batchCreateSpotLimitOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders",
        value: _tx.MsgBatchCreateSpotLimitOrders.encode(value).finish()
      };
    },
    createSpotMarketOrder: function createSpotMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder",
        value: _tx.MsgCreateSpotMarketOrder.encode(value).finish()
      };
    },
    cancelSpotOrder: function cancelSpotOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelSpotOrder",
        value: _tx.MsgCancelSpotOrder.encode(value).finish()
      };
    },
    batchCancelSpotOrders: function batchCancelSpotOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelSpotOrders",
        value: _tx.MsgBatchCancelSpotOrders.encode(value).finish()
      };
    },
    batchUpdateOrders: function batchUpdateOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchUpdateOrders",
        value: _tx.MsgBatchUpdateOrders.encode(value).finish()
      };
    },
    exec: function exec(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgExec",
        value: _tx.MsgExec.encode(value).finish()
      };
    },
    createDerivativeLimitOrder: function createDerivativeLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder",
        value: _tx.MsgCreateDerivativeLimitOrder.encode(value).finish()
      };
    },
    batchCreateDerivativeLimitOrders: function batchCreateDerivativeLimitOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders",
        value: _tx.MsgBatchCreateDerivativeLimitOrders.encode(value).finish()
      };
    },
    createDerivativeMarketOrder: function createDerivativeMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder",
        value: _tx.MsgCreateDerivativeMarketOrder.encode(value).finish()
      };
    },
    cancelDerivativeOrder: function cancelDerivativeOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelDerivativeOrder",
        value: _tx.MsgCancelDerivativeOrder.encode(value).finish()
      };
    },
    batchCancelDerivativeOrders: function batchCancelDerivativeOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders",
        value: _tx.MsgBatchCancelDerivativeOrders.encode(value).finish()
      };
    },
    instantBinaryOptionsMarketLaunch: function instantBinaryOptionsMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch",
        value: _tx.MsgInstantBinaryOptionsMarketLaunch.encode(value).finish()
      };
    },
    createBinaryOptionsLimitOrder: function createBinaryOptionsLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder",
        value: _tx.MsgCreateBinaryOptionsLimitOrder.encode(value).finish()
      };
    },
    createBinaryOptionsMarketOrder: function createBinaryOptionsMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder",
        value: _tx.MsgCreateBinaryOptionsMarketOrder.encode(value).finish()
      };
    },
    cancelBinaryOptionsOrder: function cancelBinaryOptionsOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder",
        value: _tx.MsgCancelBinaryOptionsOrder.encode(value).finish()
      };
    },
    batchCancelBinaryOptionsOrders: function batchCancelBinaryOptionsOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders",
        value: _tx.MsgBatchCancelBinaryOptionsOrders.encode(value).finish()
      };
    },
    subaccountTransfer: function subaccountTransfer(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgSubaccountTransfer",
        value: _tx.MsgSubaccountTransfer.encode(value).finish()
      };
    },
    externalTransfer: function externalTransfer(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgExternalTransfer",
        value: _tx.MsgExternalTransfer.encode(value).finish()
      };
    },
    liquidatePosition: function liquidatePosition(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgLiquidatePosition",
        value: _tx.MsgLiquidatePosition.encode(value).finish()
      };
    },
    increasePositionMargin: function increasePositionMargin(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgIncreasePositionMargin",
        value: _tx.MsgIncreasePositionMargin.encode(value).finish()
      };
    },
    rewardsOptOut: function rewardsOptOut(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgRewardsOptOut",
        value: _tx.MsgRewardsOptOut.encode(value).finish()
      };
    },
    adminUpdateBinaryOptionsMarket: function adminUpdateBinaryOptionsMarket(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket",
        value: _tx.MsgAdminUpdateBinaryOptionsMarket.encode(value).finish()
      };
    }
  },
  withTypeUrl: {
    deposit: function deposit(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgDeposit",
        value: value
      };
    },
    withdraw: function withdraw(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgWithdraw",
        value: value
      };
    },
    instantSpotMarketLaunch: function instantSpotMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantSpotMarketLaunch",
        value: value
      };
    },
    instantPerpetualMarketLaunch: function instantPerpetualMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch",
        value: value
      };
    },
    instantExpiryFuturesMarketLaunch: function instantExpiryFuturesMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch",
        value: value
      };
    },
    createSpotLimitOrder: function createSpotLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder",
        value: value
      };
    },
    batchCreateSpotLimitOrders: function batchCreateSpotLimitOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders",
        value: value
      };
    },
    createSpotMarketOrder: function createSpotMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder",
        value: value
      };
    },
    cancelSpotOrder: function cancelSpotOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelSpotOrder",
        value: value
      };
    },
    batchCancelSpotOrders: function batchCancelSpotOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelSpotOrders",
        value: value
      };
    },
    batchUpdateOrders: function batchUpdateOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchUpdateOrders",
        value: value
      };
    },
    exec: function exec(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgExec",
        value: value
      };
    },
    createDerivativeLimitOrder: function createDerivativeLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder",
        value: value
      };
    },
    batchCreateDerivativeLimitOrders: function batchCreateDerivativeLimitOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders",
        value: value
      };
    },
    createDerivativeMarketOrder: function createDerivativeMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder",
        value: value
      };
    },
    cancelDerivativeOrder: function cancelDerivativeOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelDerivativeOrder",
        value: value
      };
    },
    batchCancelDerivativeOrders: function batchCancelDerivativeOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders",
        value: value
      };
    },
    instantBinaryOptionsMarketLaunch: function instantBinaryOptionsMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch",
        value: value
      };
    },
    createBinaryOptionsLimitOrder: function createBinaryOptionsLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder",
        value: value
      };
    },
    createBinaryOptionsMarketOrder: function createBinaryOptionsMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder",
        value: value
      };
    },
    cancelBinaryOptionsOrder: function cancelBinaryOptionsOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder",
        value: value
      };
    },
    batchCancelBinaryOptionsOrders: function batchCancelBinaryOptionsOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders",
        value: value
      };
    },
    subaccountTransfer: function subaccountTransfer(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgSubaccountTransfer",
        value: value
      };
    },
    externalTransfer: function externalTransfer(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgExternalTransfer",
        value: value
      };
    },
    liquidatePosition: function liquidatePosition(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgLiquidatePosition",
        value: value
      };
    },
    increasePositionMargin: function increasePositionMargin(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgIncreasePositionMargin",
        value: value
      };
    },
    rewardsOptOut: function rewardsOptOut(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgRewardsOptOut",
        value: value
      };
    },
    adminUpdateBinaryOptionsMarket: function adminUpdateBinaryOptionsMarket(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket",
        value: value
      };
    }
  },
  fromPartial: {
    deposit: function deposit(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgDeposit",
        value: _tx.MsgDeposit.fromPartial(value)
      };
    },
    withdraw: function withdraw(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgWithdraw",
        value: _tx.MsgWithdraw.fromPartial(value)
      };
    },
    instantSpotMarketLaunch: function instantSpotMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantSpotMarketLaunch",
        value: _tx.MsgInstantSpotMarketLaunch.fromPartial(value)
      };
    },
    instantPerpetualMarketLaunch: function instantPerpetualMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch",
        value: _tx.MsgInstantPerpetualMarketLaunch.fromPartial(value)
      };
    },
    instantExpiryFuturesMarketLaunch: function instantExpiryFuturesMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch",
        value: _tx.MsgInstantExpiryFuturesMarketLaunch.fromPartial(value)
      };
    },
    createSpotLimitOrder: function createSpotLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder",
        value: _tx.MsgCreateSpotLimitOrder.fromPartial(value)
      };
    },
    batchCreateSpotLimitOrders: function batchCreateSpotLimitOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders",
        value: _tx.MsgBatchCreateSpotLimitOrders.fromPartial(value)
      };
    },
    createSpotMarketOrder: function createSpotMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder",
        value: _tx.MsgCreateSpotMarketOrder.fromPartial(value)
      };
    },
    cancelSpotOrder: function cancelSpotOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelSpotOrder",
        value: _tx.MsgCancelSpotOrder.fromPartial(value)
      };
    },
    batchCancelSpotOrders: function batchCancelSpotOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelSpotOrders",
        value: _tx.MsgBatchCancelSpotOrders.fromPartial(value)
      };
    },
    batchUpdateOrders: function batchUpdateOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchUpdateOrders",
        value: _tx.MsgBatchUpdateOrders.fromPartial(value)
      };
    },
    exec: function exec(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgExec",
        value: _tx.MsgExec.fromPartial(value)
      };
    },
    createDerivativeLimitOrder: function createDerivativeLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder",
        value: _tx.MsgCreateDerivativeLimitOrder.fromPartial(value)
      };
    },
    batchCreateDerivativeLimitOrders: function batchCreateDerivativeLimitOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders",
        value: _tx.MsgBatchCreateDerivativeLimitOrders.fromPartial(value)
      };
    },
    createDerivativeMarketOrder: function createDerivativeMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder",
        value: _tx.MsgCreateDerivativeMarketOrder.fromPartial(value)
      };
    },
    cancelDerivativeOrder: function cancelDerivativeOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelDerivativeOrder",
        value: _tx.MsgCancelDerivativeOrder.fromPartial(value)
      };
    },
    batchCancelDerivativeOrders: function batchCancelDerivativeOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders",
        value: _tx.MsgBatchCancelDerivativeOrders.fromPartial(value)
      };
    },
    instantBinaryOptionsMarketLaunch: function instantBinaryOptionsMarketLaunch(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch",
        value: _tx.MsgInstantBinaryOptionsMarketLaunch.fromPartial(value)
      };
    },
    createBinaryOptionsLimitOrder: function createBinaryOptionsLimitOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder",
        value: _tx.MsgCreateBinaryOptionsLimitOrder.fromPartial(value)
      };
    },
    createBinaryOptionsMarketOrder: function createBinaryOptionsMarketOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder",
        value: _tx.MsgCreateBinaryOptionsMarketOrder.fromPartial(value)
      };
    },
    cancelBinaryOptionsOrder: function cancelBinaryOptionsOrder(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder",
        value: _tx.MsgCancelBinaryOptionsOrder.fromPartial(value)
      };
    },
    batchCancelBinaryOptionsOrders: function batchCancelBinaryOptionsOrders(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders",
        value: _tx.MsgBatchCancelBinaryOptionsOrders.fromPartial(value)
      };
    },
    subaccountTransfer: function subaccountTransfer(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgSubaccountTransfer",
        value: _tx.MsgSubaccountTransfer.fromPartial(value)
      };
    },
    externalTransfer: function externalTransfer(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgExternalTransfer",
        value: _tx.MsgExternalTransfer.fromPartial(value)
      };
    },
    liquidatePosition: function liquidatePosition(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgLiquidatePosition",
        value: _tx.MsgLiquidatePosition.fromPartial(value)
      };
    },
    increasePositionMargin: function increasePositionMargin(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgIncreasePositionMargin",
        value: _tx.MsgIncreasePositionMargin.fromPartial(value)
      };
    },
    rewardsOptOut: function rewardsOptOut(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgRewardsOptOut",
        value: _tx.MsgRewardsOptOut.fromPartial(value)
      };
    },
    adminUpdateBinaryOptionsMarket: function adminUpdateBinaryOptionsMarket(value) {
      return {
        typeUrl: "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket",
        value: _tx.MsgAdminUpdateBinaryOptionsMarket.fromPartial(value)
      };
    }
  }
};
exports.MessageComposer = MessageComposer;