# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dydxprotocol/subaccounts/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 ...cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2
from ...gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
from ...google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from ...cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2
from ..subaccounts import subaccount_pb2 as dydxprotocol_dot_subaccounts_dot_subaccount__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$dydxprotocol/subaccounts/query.proto\x12\x18\x64ydxprotocol.subaccounts\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a)dydxprotocol/subaccounts/subaccount.proto\"T\n\x19QueryGetSubaccountRequest\x12\'\n\x05owner\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0e\n\x06number\x18\x02 \x01(\r\"Y\n\x17QuerySubaccountResponse\x12>\n\nsubaccount\x18\x01 \x01(\x0b\x32$.dydxprotocol.subaccounts.SubaccountB\x04\xc8\xde\x1f\x00\"W\n\x19QueryAllSubaccountRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x99\x01\n\x1aQuerySubaccountAllResponse\x12>\n\nsubaccount\x18\x01 \x03(\x0b\x32$.dydxprotocol.subaccounts.SubaccountB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"H\n0QueryGetWithdrawalAndTransfersBlockedInfoRequest\x12\x14\n\x0cperpetual_id\x18\x01 \x01(\r\"\xbc\x01\n1QueryGetWithdrawalAndTransfersBlockedInfoResponse\x12-\n%negative_tnc_subaccount_seen_at_block\x18\x01 \x01(\r\x12\"\n\x1a\x63hain_outage_seen_at_block\x18\x02 \x01(\r\x12\x34\n,withdrawals_and_transfers_unblocked_at_block\x18\x03 \x01(\r\"9\n!QueryCollateralPoolAddressRequest\x12\x14\n\x0cperpetual_id\x18\x01 \x01(\r\"_\n\"QueryCollateralPoolAddressResponse\x12\x39\n\x17\x63ollateral_pool_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString2\xe2\x06\n\x05Query\x12\xb3\x01\n\nSubaccount\x12\x33.dydxprotocol.subaccounts.QueryGetSubaccountRequest\x1a\x31.dydxprotocol.subaccounts.QuerySubaccountResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/dydxprotocol/subaccounts/subaccount/{owner}/{number}\x12\xa8\x01\n\rSubaccountAll\x12\x33.dydxprotocol.subaccounts.QueryAllSubaccountRequest\x1a\x34.dydxprotocol.subaccounts.QuerySubaccountAllResponse\",\x82\xd3\xe4\x93\x02&\x12$/dydxprotocol/subaccounts/subaccount\x12\x98\x02\n$GetWithdrawalAndTransfersBlockedInfo\x12J.dydxprotocol.subaccounts.QueryGetWithdrawalAndTransfersBlockedInfoRequest\x1aK.dydxprotocol.subaccounts.QueryGetWithdrawalAndTransfersBlockedInfoResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/dydxprotocol/subaccounts/withdrawals_and_transfers_blocked_info/{perpetual_id}\x12\xdc\x01\n\x15\x43ollateralPoolAddress\x12;.dydxprotocol.subaccounts.QueryCollateralPoolAddressRequest\x1a<.dydxprotocol.subaccounts.QueryCollateralPoolAddressResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/dydxprotocol/subaccounts/collateral_pool_address/{perpetual_id}B?Z=github.com/dydxprotocol/v4-chain/protocol/x/subaccounts/typesb\x06proto3')

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

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z=github.com/dydxprotocol/v4-chain/protocol/x/subaccounts/types'
  _QUERYGETSUBACCOUNTREQUEST.fields_by_name['owner']._options = None
  _QUERYGETSUBACCOUNTREQUEST.fields_by_name['owner']._serialized_options = b'\322\264-\024cosmos.AddressString'
  _QUERYSUBACCOUNTRESPONSE.fields_by_name['subaccount']._options = None
  _QUERYSUBACCOUNTRESPONSE.fields_by_name['subaccount']._serialized_options = b'\310\336\037\000'
  _QUERYSUBACCOUNTALLRESPONSE.fields_by_name['subaccount']._options = None
  _QUERYSUBACCOUNTALLRESPONSE.fields_by_name['subaccount']._serialized_options = b'\310\336\037\000'
  _QUERYCOLLATERALPOOLADDRESSRESPONSE.fields_by_name['collateral_pool_address']._options = None
  _QUERYCOLLATERALPOOLADDRESSRESPONSE.fields_by_name['collateral_pool_address']._serialized_options = b'\322\264-\024cosmos.AddressString'
  _QUERY.methods_by_name['Subaccount']._options = None
  _QUERY.methods_by_name['Subaccount']._serialized_options = b'\202\323\344\223\0027\0225/dydxprotocol/subaccounts/subaccount/{owner}/{number}'
  _QUERY.methods_by_name['SubaccountAll']._options = None
  _QUERY.methods_by_name['SubaccountAll']._serialized_options = b'\202\323\344\223\002&\022$/dydxprotocol/subaccounts/subaccount'
  _QUERY.methods_by_name['GetWithdrawalAndTransfersBlockedInfo']._options = None
  _QUERY.methods_by_name['GetWithdrawalAndTransfersBlockedInfo']._serialized_options = b'\202\323\344\223\002Q\022O/dydxprotocol/subaccounts/withdrawals_and_transfers_blocked_info/{perpetual_id}'
  _QUERY.methods_by_name['CollateralPoolAddress']._options = None
  _QUERY.methods_by_name['CollateralPoolAddress']._serialized_options = b'\202\323\344\223\002B\022@/dydxprotocol/subaccounts/collateral_pool_address/{perpetual_id}'
  _QUERYGETSUBACCOUNTREQUEST._serialized_start=232
  _QUERYGETSUBACCOUNTREQUEST._serialized_end=316
  _QUERYSUBACCOUNTRESPONSE._serialized_start=318
  _QUERYSUBACCOUNTRESPONSE._serialized_end=407
  _QUERYALLSUBACCOUNTREQUEST._serialized_start=409
  _QUERYALLSUBACCOUNTREQUEST._serialized_end=496
  _QUERYSUBACCOUNTALLRESPONSE._serialized_start=499
  _QUERYSUBACCOUNTALLRESPONSE._serialized_end=652
  _QUERYGETWITHDRAWALANDTRANSFERSBLOCKEDINFOREQUEST._serialized_start=654
  _QUERYGETWITHDRAWALANDTRANSFERSBLOCKEDINFOREQUEST._serialized_end=726
  _QUERYGETWITHDRAWALANDTRANSFERSBLOCKEDINFORESPONSE._serialized_start=729
  _QUERYGETWITHDRAWALANDTRANSFERSBLOCKEDINFORESPONSE._serialized_end=917
  _QUERYCOLLATERALPOOLADDRESSREQUEST._serialized_start=919
  _QUERYCOLLATERALPOOLADDRESSREQUEST._serialized_end=976
  _QUERYCOLLATERALPOOLADDRESSRESPONSE._serialized_start=978
  _QUERYCOLLATERALPOOLADDRESSRESPONSE._serialized_end=1073
  _QUERY._serialized_start=1076
  _QUERY._serialized_end=1942
# @@protoc_insertion_point(module_scope)
