# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dydxprotocol/perpetuals/perpetual.proto
"""Generated protocol buffer code."""
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
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'dydxprotocol/perpetuals/perpetual.proto\x12\x17\x64ydxprotocol.perpetuals\x1a\x14gogoproto/gogo.proto\"\xc3\x01\n\tPerpetual\x12>\n\x06params\x18\x01 \x01(\x0b\x32(.dydxprotocol.perpetuals.PerpetualParamsB\x04\xc8\xde\x1f\x00\x12_\n\rfunding_index\x18\x02 \x01(\x0c\x42H\xc8\xde\x1f\x00\xda\xde\x1f@github.com/dydxprotocol/v4-chain/protocol/dtypes.SerializableInt\x12\x15\n\ropen_interest\x18\x03 \x01(\x04\"\x90\x01\n\x0fPerpetualParams\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0e\n\x06ticker\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\r\x12\x19\n\x11\x61tomic_resolution\x18\x04 \x01(\x11\x12\x1b\n\x13\x64\x65\x66\x61ult_funding_ppm\x18\x05 \x01(\x11\x12\x16\n\x0eliquidity_tier\x18\x06 \x01(\r\"8\n\x0eMarketPremiums\x12\x14\n\x0cperpetual_id\x18\x01 \x01(\r\x12\x10\n\x08premiums\x18\x02 \x03(\x11\"p\n\x0cPremiumStore\x12J\n\x13\x61ll_market_premiums\x18\x01 \x03(\x0b\x32\'.dydxprotocol.perpetuals.MarketPremiumsB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cnum_premiums\x18\x02 \x01(\r\"\xa0\x01\n\rLiquidityTier\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x1a\n\x12initial_margin_ppm\x18\x03 \x01(\r\x12 \n\x18maintenance_fraction_ppm\x18\x04 \x01(\r\x12\x1e\n\x16\x62\x61se_position_notional\x18\x05 \x01(\x04\x12\x17\n\x0fimpact_notional\x18\x06 \x01(\x04\x42>Z<github.com/dydxprotocol/v4-chain/protocol/x/perpetuals/typesb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dydxprotocol.perpetuals.perpetual_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z<github.com/dydxprotocol/v4-chain/protocol/x/perpetuals/types'
  _PERPETUAL.fields_by_name['params']._options = None
  _PERPETUAL.fields_by_name['params']._serialized_options = b'\310\336\037\000'
  _PERPETUAL.fields_by_name['funding_index']._options = None
  _PERPETUAL.fields_by_name['funding_index']._serialized_options = b'\310\336\037\000\332\336\037@github.com/dydxprotocol/v4-chain/protocol/dtypes.SerializableInt'
  _PREMIUMSTORE.fields_by_name['all_market_premiums']._options = None
  _PREMIUMSTORE.fields_by_name['all_market_premiums']._serialized_options = b'\310\336\037\000'
  _globals['_PERPETUAL']._serialized_start=91
  _globals['_PERPETUAL']._serialized_end=286
  _globals['_PERPETUALPARAMS']._serialized_start=289
  _globals['_PERPETUALPARAMS']._serialized_end=433
  _globals['_MARKETPREMIUMS']._serialized_start=435
  _globals['_MARKETPREMIUMS']._serialized_end=491
  _globals['_PREMIUMSTORE']._serialized_start=493
  _globals['_PREMIUMSTORE']._serialized_end=605
  _globals['_LIQUIDITYTIER']._serialized_start=608
  _globals['_LIQUIDITYTIER']._serialized_end=768
# @@protoc_insertion_point(module_scope)
