# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dydxprotocol/clob/query.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from v4_proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
from v4_proto.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from v4_proto.cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2
from v4_proto.dydxprotocol.clob import block_rate_limit_config_pb2 as dydxprotocol_dot_clob_dot_block__rate__limit__config__pb2
from v4_proto.dydxprotocol.clob import clob_pair_pb2 as dydxprotocol_dot_clob_dot_clob__pair__pb2
from v4_proto.dydxprotocol.clob import equity_tier_limit_config_pb2 as dydxprotocol_dot_clob_dot_equity__tier__limit__config__pb2
from v4_proto.dydxprotocol.clob import order_pb2 as dydxprotocol_dot_clob_dot_order__pb2
from v4_proto.dydxprotocol.clob import matches_pb2 as dydxprotocol_dot_clob_dot_matches__pb2
from v4_proto.dydxprotocol.clob import liquidations_config_pb2 as dydxprotocol_dot_clob_dot_liquidations__config__pb2
from v4_proto.dydxprotocol.clob import mev_pb2 as dydxprotocol_dot_clob_dot_mev__pb2
from v4_proto.dydxprotocol.indexer.off_chain_updates import off_chain_updates_pb2 as dydxprotocol_dot_indexer_dot_off__chain__updates_dot_off__chain__updates__pb2
from v4_proto.dydxprotocol.subaccounts import streaming_pb2 as dydxprotocol_dot_subaccounts_dot_streaming__pb2
from v4_proto.dydxprotocol.subaccounts import subaccount_pb2 as dydxprotocol_dot_subaccounts_dot_subaccount__pb2
from v4_proto.dydxprotocol.prices import streaming_pb2 as dydxprotocol_dot_prices_dot_streaming__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x64ydxprotocol/clob/query.proto\x12\x11\x64ydxprotocol.clob\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a/dydxprotocol/clob/block_rate_limit_config.proto\x1a!dydxprotocol/clob/clob_pair.proto\x1a\x30\x64ydxprotocol/clob/equity_tier_limit_config.proto\x1a\x1d\x64ydxprotocol/clob/order.proto\x1a\x1f\x64ydxprotocol/clob/matches.proto\x1a+dydxprotocol/clob/liquidations_config.proto\x1a\x1b\x64ydxprotocol/clob/mev.proto\x1a>dydxprotocol/indexer/off_chain_updates/off_chain_updates.proto\x1a(dydxprotocol/subaccounts/streaming.proto\x1a)dydxprotocol/subaccounts/subaccount.proto\x1a#dydxprotocol/prices/streaming.proto\"%\n\x17QueryGetClobPairRequest\x12\n\n\x02id\x18\x01 \x01(\r\"M\n\x15QueryClobPairResponse\x12\x34\n\tclob_pair\x18\x01 \x01(\x0b\x32\x1b.dydxprotocol.clob.ClobPairB\x04\xc8\xde\x1f\x00\"U\n\x17QueryAllClobPairRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x8d\x01\n\x18QueryClobPairAllResponse\x12\x34\n\tclob_pair\x18\x01 \x03(\x0b\x32\x1b.dydxprotocol.clob.ClobPairB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\xb1\x01\n\x1fMevNodeToNodeCalculationRequest\x12\x46\n\x16\x62lock_proposer_matches\x18\x01 \x01(\x0b\x32&.dydxprotocol.clob.ValidatorMevMatches\x12\x46\n\x15validator_mev_metrics\x18\x02 \x01(\x0b\x32\'.dydxprotocol.clob.MevNodeToNodeMetrics\"\xcc\x01\n MevNodeToNodeCalculationResponse\x12^\n\x07results\x18\x01 \x03(\x0b\x32G.dydxprotocol.clob.MevNodeToNodeCalculationResponse.MevAndVolumePerClobB\x04\xc8\xde\x1f\x00\x1aH\n\x13MevAndVolumePerClob\x12\x14\n\x0c\x63lob_pair_id\x18\x01 \x01(\r\x12\x0b\n\x03mev\x18\x02 \x01(\x02\x12\x0e\n\x06volume\x18\x03 \x01(\x04\"*\n(QueryEquityTierLimitConfigurationRequest\"\x84\x01\n)QueryEquityTierLimitConfigurationResponse\x12W\n\x18\x65quity_tier_limit_config\x18\x01 \x01(\x0b\x32/.dydxprotocol.clob.EquityTierLimitConfigurationB\x04\xc8\xde\x1f\x00\")\n\'QueryBlockRateLimitConfigurationRequest\"\x81\x01\n(QueryBlockRateLimitConfigurationResponse\x12U\n\x17\x62lock_rate_limit_config\x18\x01 \x01(\x0b\x32..dydxprotocol.clob.BlockRateLimitConfigurationB\x04\xc8\xde\x1f\x00\"O\n\x19QueryStatefulOrderRequest\x12\x32\n\x08order_id\x18\x01 \x01(\x0b\x32\x1a.dydxprotocol.clob.OrderIdB\x04\xc8\xde\x1f\x00\"\x8e\x01\n\x1aQueryStatefulOrderResponse\x12H\n\x0forder_placement\x18\x01 \x01(\x0b\x32).dydxprotocol.clob.LongTermOrderPlacementB\x04\xc8\xde\x1f\x00\x12\x13\n\x0b\x66ill_amount\x18\x02 \x01(\x04\x12\x11\n\ttriggered\x18\x03 \x01(\x08\"\'\n%QueryLiquidationsConfigurationRequest\"r\n&QueryLiquidationsConfigurationResponse\x12H\n\x13liquidations_config\x18\x01 \x01(\x0b\x32%.dydxprotocol.clob.LiquidationsConfigB\x04\xc8\xde\x1f\x00\"\x1c\n\x1aQueryNextClobPairIdRequest\"8\n\x1bQueryNextClobPairIdResponse\x12\x19\n\x11next_clob_pair_id\x18\x01 \x01(\r\"\xb1\x01\n\x1dStreamOrderbookUpdatesRequest\x12\x14\n\x0c\x63lob_pair_id\x18\x01 \x03(\r\x12>\n\x0esubaccount_ids\x18\x02 \x03(\x0b\x32&.dydxprotocol.subaccounts.SubaccountId\x12\x12\n\nmarket_ids\x18\x03 \x03(\r\x12&\n\x1e\x66ilter_orders_by_subaccount_id\x18\x04 \x01(\x08\"X\n\x1eStreamOrderbookUpdatesResponse\x12\x36\n\x07updates\x18\x01 \x03(\x0b\x32\x1f.dydxprotocol.clob.StreamUpdateB\x04\xc8\xde\x1f\x00\"\x98\x03\n\x0cStreamUpdate\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\r\x12\x11\n\texec_mode\x18\x02 \x01(\r\x12\x44\n\x10orderbook_update\x18\x03 \x01(\x0b\x32(.dydxprotocol.clob.StreamOrderbookUpdateH\x00\x12<\n\norder_fill\x18\x04 \x01(\x0b\x32&.dydxprotocol.clob.StreamOrderbookFillH\x00\x12:\n\x0btaker_order\x18\x05 \x01(\x0b\x32#.dydxprotocol.clob.StreamTakerOrderH\x00\x12M\n\x11subaccount_update\x18\x06 \x01(\x0b\x32\x30.dydxprotocol.subaccounts.StreamSubaccountUpdateH\x00\x12>\n\x0cprice_update\x18\x07 \x01(\x0b\x32&.dydxprotocol.prices.StreamPriceUpdateH\x00\x42\x10\n\x0eupdate_message\"z\n\x15StreamOrderbookUpdate\x12\x10\n\x08snapshot\x18\x01 \x01(\x08\x12O\n\x07updates\x18\x02 \x03(\x0b\x32\x38.dydxprotocol.indexer.off_chain_updates.OffChainUpdateV1B\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x13StreamOrderbookFill\x12\x30\n\nclob_match\x18\x01 \x01(\x0b\x32\x1c.dydxprotocol.clob.ClobMatch\x12.\n\x06orders\x18\x02 \x03(\x0b\x32\x18.dydxprotocol.clob.OrderB\x04\xc8\xde\x1f\x00\x12\x14\n\x0c\x66ill_amounts\x18\x03 \x03(\x04\"\xdb\x01\n\x10StreamTakerOrder\x12)\n\x05order\x18\x01 \x01(\x0b\x32\x18.dydxprotocol.clob.OrderH\x00\x12\x46\n\x11liquidation_order\x18\x02 \x01(\x0b\x32).dydxprotocol.clob.StreamLiquidationOrderH\x00\x12\x45\n\x12taker_order_status\x18\x03 \x01(\x0b\x32).dydxprotocol.clob.StreamTakerOrderStatusB\r\n\x0btaker_order\"r\n\x16StreamTakerOrderStatus\x12\x14\n\x0corder_status\x18\x01 \x01(\r\x12\x1a\n\x12remaining_quantums\x18\x02 \x01(\x04\x12&\n\x1eoptimistically_filled_quantums\x18\x03 \x01(\x04\x32\xbe\x0b\n\x05Query\x12\x8b\x01\n\x08\x43lobPair\x12*.dydxprotocol.clob.QueryGetClobPairRequest\x1a(.dydxprotocol.clob.QueryClobPairResponse\")\x82\xd3\xe4\x93\x02#\x12!/dydxprotocol/clob/clob_pair/{id}\x12\x8c\x01\n\x0b\x43lobPairAll\x12*.dydxprotocol.clob.QueryAllClobPairRequest\x1a+.dydxprotocol.clob.QueryClobPairAllResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/dydxprotocol/clob/clob_pair\x12\xbf\x01\n\x18MevNodeToNodeCalculation\x12\x32.dydxprotocol.clob.MevNodeToNodeCalculationRequest\x1a\x33.dydxprotocol.clob.MevNodeToNodeCalculationResponse\":\x82\xd3\xe4\x93\x02\x34\"//dydxprotocol/clob/mev_node_to_node_calculation:\x01*\x12\xc1\x01\n\x1c\x45quityTierLimitConfiguration\x12;.dydxprotocol.clob.QueryEquityTierLimitConfigurationRequest\x1a<.dydxprotocol.clob.QueryEquityTierLimitConfigurationResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/dydxprotocol/clob/equity_tier\x12\xbd\x01\n\x1b\x42lockRateLimitConfiguration\x12:.dydxprotocol.clob.QueryBlockRateLimitConfigurationRequest\x1a;.dydxprotocol.clob.QueryBlockRateLimitConfigurationResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/dydxprotocol/clob/block_rate\x12\xc0\x01\n\x19LiquidationsConfiguration\x12\x38.dydxprotocol.clob.QueryLiquidationsConfigurationRequest\x1a\x39.dydxprotocol.clob.QueryLiquidationsConfigurationResponse\".\x82\xd3\xe4\x93\x02(\x12&/dydxprotocol/clob/liquidations_config\x12n\n\rStatefulOrder\x12,.dydxprotocol.clob.QueryStatefulOrderRequest\x1a-.dydxprotocol.clob.QueryStatefulOrderResponse\"\x00\x12\x9d\x01\n\x0eNextClobPairId\x12-.dydxprotocol.clob.QueryNextClobPairIdRequest\x1a..dydxprotocol.clob.QueryNextClobPairIdResponse\",\x82\xd3\xe4\x93\x02&\x12$/dydxprotocol/clob/next_clob_pair_id\x12\x7f\n\x16StreamOrderbookUpdates\x12\x30.dydxprotocol.clob.StreamOrderbookUpdatesRequest\x1a\x31.dydxprotocol.clob.StreamOrderbookUpdatesResponse0\x01\x42\x38Z6github.com/dydxprotocol/v4-chain/protocol/x/clob/typesb\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dydxprotocol.clob.query_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z6github.com/dydxprotocol/v4-chain/protocol/x/clob/types'
  _QUERYCLOBPAIRRESPONSE.fields_by_name['clob_pair']._options = None
  _QUERYCLOBPAIRRESPONSE.fields_by_name['clob_pair']._serialized_options = b'\310\336\037\000'
  _QUERYCLOBPAIRALLRESPONSE.fields_by_name['clob_pair']._options = None
  _QUERYCLOBPAIRALLRESPONSE.fields_by_name['clob_pair']._serialized_options = b'\310\336\037\000'
  _MEVNODETONODECALCULATIONRESPONSE.fields_by_name['results']._options = None
  _MEVNODETONODECALCULATIONRESPONSE.fields_by_name['results']._serialized_options = b'\310\336\037\000'
  _QUERYEQUITYTIERLIMITCONFIGURATIONRESPONSE.fields_by_name['equity_tier_limit_config']._options = None
  _QUERYEQUITYTIERLIMITCONFIGURATIONRESPONSE.fields_by_name['equity_tier_limit_config']._serialized_options = b'\310\336\037\000'
  _QUERYBLOCKRATELIMITCONFIGURATIONRESPONSE.fields_by_name['block_rate_limit_config']._options = None
  _QUERYBLOCKRATELIMITCONFIGURATIONRESPONSE.fields_by_name['block_rate_limit_config']._serialized_options = b'\310\336\037\000'
  _QUERYSTATEFULORDERREQUEST.fields_by_name['order_id']._options = None
  _QUERYSTATEFULORDERREQUEST.fields_by_name['order_id']._serialized_options = b'\310\336\037\000'
  _QUERYSTATEFULORDERRESPONSE.fields_by_name['order_placement']._options = None
  _QUERYSTATEFULORDERRESPONSE.fields_by_name['order_placement']._serialized_options = b'\310\336\037\000'
  _QUERYLIQUIDATIONSCONFIGURATIONRESPONSE.fields_by_name['liquidations_config']._options = None
  _QUERYLIQUIDATIONSCONFIGURATIONRESPONSE.fields_by_name['liquidations_config']._serialized_options = b'\310\336\037\000'
  _STREAMORDERBOOKUPDATESRESPONSE.fields_by_name['updates']._options = None
  _STREAMORDERBOOKUPDATESRESPONSE.fields_by_name['updates']._serialized_options = b'\310\336\037\000'
  _STREAMORDERBOOKUPDATE.fields_by_name['updates']._options = None
  _STREAMORDERBOOKUPDATE.fields_by_name['updates']._serialized_options = b'\310\336\037\000'
  _STREAMORDERBOOKFILL.fields_by_name['orders']._options = None
  _STREAMORDERBOOKFILL.fields_by_name['orders']._serialized_options = b'\310\336\037\000'
  _QUERY.methods_by_name['ClobPair']._options = None
  _QUERY.methods_by_name['ClobPair']._serialized_options = b'\202\323\344\223\002#\022!/dydxprotocol/clob/clob_pair/{id}'
  _QUERY.methods_by_name['ClobPairAll']._options = None
  _QUERY.methods_by_name['ClobPairAll']._serialized_options = b'\202\323\344\223\002\036\022\034/dydxprotocol/clob/clob_pair'
  _QUERY.methods_by_name['MevNodeToNodeCalculation']._options = None
  _QUERY.methods_by_name['MevNodeToNodeCalculation']._serialized_options = b'\202\323\344\223\0024\"//dydxprotocol/clob/mev_node_to_node_calculation:\001*'
  _QUERY.methods_by_name['EquityTierLimitConfiguration']._options = None
  _QUERY.methods_by_name['EquityTierLimitConfiguration']._serialized_options = b'\202\323\344\223\002 \022\036/dydxprotocol/clob/equity_tier'
  _QUERY.methods_by_name['BlockRateLimitConfiguration']._options = None
  _QUERY.methods_by_name['BlockRateLimitConfiguration']._serialized_options = b'\202\323\344\223\002\037\022\035/dydxprotocol/clob/block_rate'
  _QUERY.methods_by_name['LiquidationsConfiguration']._options = None
  _QUERY.methods_by_name['LiquidationsConfiguration']._serialized_options = b'\202\323\344\223\002(\022&/dydxprotocol/clob/liquidations_config'
  _QUERY.methods_by_name['NextClobPairId']._options = None
  _QUERY.methods_by_name['NextClobPairId']._serialized_options = b'\202\323\344\223\002&\022$/dydxprotocol/clob/next_clob_pair_id'
  _QUERYGETCLOBPAIRREQUEST._serialized_start=606
  _QUERYGETCLOBPAIRREQUEST._serialized_end=643
  _QUERYCLOBPAIRRESPONSE._serialized_start=645
  _QUERYCLOBPAIRRESPONSE._serialized_end=722
  _QUERYALLCLOBPAIRREQUEST._serialized_start=724
  _QUERYALLCLOBPAIRREQUEST._serialized_end=809
  _QUERYCLOBPAIRALLRESPONSE._serialized_start=812
  _QUERYCLOBPAIRALLRESPONSE._serialized_end=953
  _MEVNODETONODECALCULATIONREQUEST._serialized_start=956
  _MEVNODETONODECALCULATIONREQUEST._serialized_end=1133
  _MEVNODETONODECALCULATIONRESPONSE._serialized_start=1136
  _MEVNODETONODECALCULATIONRESPONSE._serialized_end=1340
  _MEVNODETONODECALCULATIONRESPONSE_MEVANDVOLUMEPERCLOB._serialized_start=1268
  _MEVNODETONODECALCULATIONRESPONSE_MEVANDVOLUMEPERCLOB._serialized_end=1340
  _QUERYEQUITYTIERLIMITCONFIGURATIONREQUEST._serialized_start=1342
  _QUERYEQUITYTIERLIMITCONFIGURATIONREQUEST._serialized_end=1384
  _QUERYEQUITYTIERLIMITCONFIGURATIONRESPONSE._serialized_start=1387
  _QUERYEQUITYTIERLIMITCONFIGURATIONRESPONSE._serialized_end=1519
  _QUERYBLOCKRATELIMITCONFIGURATIONREQUEST._serialized_start=1521
  _QUERYBLOCKRATELIMITCONFIGURATIONREQUEST._serialized_end=1562
  _QUERYBLOCKRATELIMITCONFIGURATIONRESPONSE._serialized_start=1565
  _QUERYBLOCKRATELIMITCONFIGURATIONRESPONSE._serialized_end=1694
  _QUERYSTATEFULORDERREQUEST._serialized_start=1696
  _QUERYSTATEFULORDERREQUEST._serialized_end=1775
  _QUERYSTATEFULORDERRESPONSE._serialized_start=1778
  _QUERYSTATEFULORDERRESPONSE._serialized_end=1920
  _QUERYLIQUIDATIONSCONFIGURATIONREQUEST._serialized_start=1922
  _QUERYLIQUIDATIONSCONFIGURATIONREQUEST._serialized_end=1961
  _QUERYLIQUIDATIONSCONFIGURATIONRESPONSE._serialized_start=1963
  _QUERYLIQUIDATIONSCONFIGURATIONRESPONSE._serialized_end=2077
  _QUERYNEXTCLOBPAIRIDREQUEST._serialized_start=2079
  _QUERYNEXTCLOBPAIRIDREQUEST._serialized_end=2107
  _QUERYNEXTCLOBPAIRIDRESPONSE._serialized_start=2109
  _QUERYNEXTCLOBPAIRIDRESPONSE._serialized_end=2165
  _STREAMORDERBOOKUPDATESREQUEST._serialized_start=2168
  _STREAMORDERBOOKUPDATESREQUEST._serialized_end=2345
  _STREAMORDERBOOKUPDATESRESPONSE._serialized_start=2347
  _STREAMORDERBOOKUPDATESRESPONSE._serialized_end=2435
  _STREAMUPDATE._serialized_start=2438
  _STREAMUPDATE._serialized_end=2846
  _STREAMORDERBOOKUPDATE._serialized_start=2848
  _STREAMORDERBOOKUPDATE._serialized_end=2970
  _STREAMORDERBOOKFILL._serialized_start=2973
  _STREAMORDERBOOKFILL._serialized_end=3114
  _STREAMTAKERORDER._serialized_start=3117
  _STREAMTAKERORDER._serialized_end=3336
  _STREAMTAKERORDERSTATUS._serialized_start=3338
  _STREAMTAKERORDERSTATUS._serialized_end=3452
  _QUERY._serialized_start=3455
  _QUERY._serialized_end=4925
# @@protoc_insertion_point(module_scope)
