# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: decimal/swap/v1/query.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


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.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2
from decimal.swap.v1 import swap_pb2 as decimal_dot_swap_dot_v1_dot_swap__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='decimal/swap/v1/query.proto',
  package='decimal.swap.v1',
  syntax='proto3',
  serialized_options=b'\n\023com.decimal.swap.v1B\nQueryProtoP\001Z4bitbucket.org/decimalteam/go-smart-node/x/swap/types\242\002\003DSX\252\002\017Decimal.Swap.V1\312\002\017Decimal\\Swap\\V1\342\002\033Decimal\\Swap\\V1\\GPBMetadata\352\002\021Decimal::Swap::V1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1b\x64\x65\x63imal/swap/v1/query.proto\x12\x0f\x64\x65\x63imal.swap.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1a\x64\x65\x63imal/swap/v1/swap.proto\"\x19\n\x17QueryActiveSwapsRequest\"M\n\x18QueryActiveSwapsResponse\x12\x31\n\x05swaps\x18\x01 \x03(\x0b\x32\x15.decimal.swap.v1.SwapB\x04\xc8\xde\x1f\x00R\x05swaps\"7\n\x10QuerySwapRequest\x12#\n\rhashed_secret\x18\x01 \x01(\tR\x0chashedSecret\"D\n\x11QuerySwapResponse\x12/\n\x04swap\x18\x01 \x01(\x0b\x32\x15.decimal.swap.v1.SwapB\x04\xc8\xde\x1f\x00R\x04swap\"\x12\n\x10QueryPoolRequest\"x\n\x11QueryPoolResponse\x12\x63\n\x06\x61mount\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x06\x61mount2\xf8\x02\n\x05Query\x12\x82\x01\n\x0b\x41\x63tiveSwaps\x12(.decimal.swap.v1.QueryActiveSwapsRequest\x1a).decimal.swap.v1.QueryActiveSwapsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/decimal/swap/v1/swaps\x12|\n\x04Swap\x12!.decimal.swap.v1.QuerySwapRequest\x1a\".decimal.swap.v1.QuerySwapResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/decimal/swap/v1/swap/{hashed_secret}\x12l\n\x04Pool\x12!.decimal.swap.v1.QueryPoolRequest\x1a\".decimal.swap.v1.QueryPoolResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/decimal/swap/v1/poolB\xb5\x01\n\x13\x63om.decimal.swap.v1B\nQueryProtoP\x01Z4bitbucket.org/decimalteam/go-smart-node/x/swap/types\xa2\x02\x03\x44SX\xaa\x02\x0f\x44\x65\x63imal.Swap.V1\xca\x02\x0f\x44\x65\x63imal\\Swap\\V1\xe2\x02\x1b\x44\x65\x63imal\\Swap\\V1\\GPBMetadata\xea\x02\x11\x44\x65\x63imal::Swap::V1b\x06proto3'
  ,
  dependencies=[gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,cosmos_dot_base_dot_v1beta1_dot_coin__pb2.DESCRIPTOR,decimal_dot_swap_dot_v1_dot_swap__pb2.DESCRIPTOR,])




_QUERYACTIVESWAPSREQUEST = _descriptor.Descriptor(
  name='QueryActiveSwapsRequest',
  full_name='decimal.swap.v1.QueryActiveSwapsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=160,
  serialized_end=185,
)


_QUERYACTIVESWAPSRESPONSE = _descriptor.Descriptor(
  name='QueryActiveSwapsResponse',
  full_name='decimal.swap.v1.QueryActiveSwapsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='swaps', full_name='decimal.swap.v1.QueryActiveSwapsResponse.swaps', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\310\336\037\000', json_name='swaps', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=187,
  serialized_end=264,
)


_QUERYSWAPREQUEST = _descriptor.Descriptor(
  name='QuerySwapRequest',
  full_name='decimal.swap.v1.QuerySwapRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='hashed_secret', full_name='decimal.swap.v1.QuerySwapRequest.hashed_secret', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='hashedSecret', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=266,
  serialized_end=321,
)


_QUERYSWAPRESPONSE = _descriptor.Descriptor(
  name='QuerySwapResponse',
  full_name='decimal.swap.v1.QuerySwapResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='swap', full_name='decimal.swap.v1.QuerySwapResponse.swap', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\310\336\037\000', json_name='swap', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=323,
  serialized_end=391,
)


_QUERYPOOLREQUEST = _descriptor.Descriptor(
  name='QueryPoolRequest',
  full_name='decimal.swap.v1.QueryPoolRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=393,
  serialized_end=411,
)


_QUERYPOOLRESPONSE = _descriptor.Descriptor(
  name='QueryPoolResponse',
  full_name='decimal.swap.v1.QueryPoolResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='amount', full_name='decimal.swap.v1.QueryPoolResponse.amount', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins', json_name='amount', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=413,
  serialized_end=533,
)

_QUERYACTIVESWAPSRESPONSE.fields_by_name['swaps'].message_type = decimal_dot_swap_dot_v1_dot_swap__pb2._SWAP
_QUERYSWAPRESPONSE.fields_by_name['swap'].message_type = decimal_dot_swap_dot_v1_dot_swap__pb2._SWAP
_QUERYPOOLRESPONSE.fields_by_name['amount'].message_type = cosmos_dot_base_dot_v1beta1_dot_coin__pb2._COIN
DESCRIPTOR.message_types_by_name['QueryActiveSwapsRequest'] = _QUERYACTIVESWAPSREQUEST
DESCRIPTOR.message_types_by_name['QueryActiveSwapsResponse'] = _QUERYACTIVESWAPSRESPONSE
DESCRIPTOR.message_types_by_name['QuerySwapRequest'] = _QUERYSWAPREQUEST
DESCRIPTOR.message_types_by_name['QuerySwapResponse'] = _QUERYSWAPRESPONSE
DESCRIPTOR.message_types_by_name['QueryPoolRequest'] = _QUERYPOOLREQUEST
DESCRIPTOR.message_types_by_name['QueryPoolResponse'] = _QUERYPOOLRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

QueryActiveSwapsRequest = _reflection.GeneratedProtocolMessageType('QueryActiveSwapsRequest', (_message.Message,), {
  'DESCRIPTOR' : _QUERYACTIVESWAPSREQUEST,
  '__module__' : 'decimal.swap.v1.query_pb2'
  # @@protoc_insertion_point(class_scope:decimal.swap.v1.QueryActiveSwapsRequest)
  })
_sym_db.RegisterMessage(QueryActiveSwapsRequest)

QueryActiveSwapsResponse = _reflection.GeneratedProtocolMessageType('QueryActiveSwapsResponse', (_message.Message,), {
  'DESCRIPTOR' : _QUERYACTIVESWAPSRESPONSE,
  '__module__' : 'decimal.swap.v1.query_pb2'
  # @@protoc_insertion_point(class_scope:decimal.swap.v1.QueryActiveSwapsResponse)
  })
_sym_db.RegisterMessage(QueryActiveSwapsResponse)

QuerySwapRequest = _reflection.GeneratedProtocolMessageType('QuerySwapRequest', (_message.Message,), {
  'DESCRIPTOR' : _QUERYSWAPREQUEST,
  '__module__' : 'decimal.swap.v1.query_pb2'
  # @@protoc_insertion_point(class_scope:decimal.swap.v1.QuerySwapRequest)
  })
_sym_db.RegisterMessage(QuerySwapRequest)

QuerySwapResponse = _reflection.GeneratedProtocolMessageType('QuerySwapResponse', (_message.Message,), {
  'DESCRIPTOR' : _QUERYSWAPRESPONSE,
  '__module__' : 'decimal.swap.v1.query_pb2'
  # @@protoc_insertion_point(class_scope:decimal.swap.v1.QuerySwapResponse)
  })
_sym_db.RegisterMessage(QuerySwapResponse)

QueryPoolRequest = _reflection.GeneratedProtocolMessageType('QueryPoolRequest', (_message.Message,), {
  'DESCRIPTOR' : _QUERYPOOLREQUEST,
  '__module__' : 'decimal.swap.v1.query_pb2'
  # @@protoc_insertion_point(class_scope:decimal.swap.v1.QueryPoolRequest)
  })
_sym_db.RegisterMessage(QueryPoolRequest)

QueryPoolResponse = _reflection.GeneratedProtocolMessageType('QueryPoolResponse', (_message.Message,), {
  'DESCRIPTOR' : _QUERYPOOLRESPONSE,
  '__module__' : 'decimal.swap.v1.query_pb2'
  # @@protoc_insertion_point(class_scope:decimal.swap.v1.QueryPoolResponse)
  })
_sym_db.RegisterMessage(QueryPoolResponse)


DESCRIPTOR._options = None
_QUERYACTIVESWAPSRESPONSE.fields_by_name['swaps']._options = None
_QUERYSWAPRESPONSE.fields_by_name['swap']._options = None
_QUERYPOOLRESPONSE.fields_by_name['amount']._options = None

_QUERY = _descriptor.ServiceDescriptor(
  name='Query',
  full_name='decimal.swap.v1.Query',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=536,
  serialized_end=912,
  methods=[
  _descriptor.MethodDescriptor(
    name='ActiveSwaps',
    full_name='decimal.swap.v1.Query.ActiveSwaps',
    index=0,
    containing_service=None,
    input_type=_QUERYACTIVESWAPSREQUEST,
    output_type=_QUERYACTIVESWAPSRESPONSE,
    serialized_options=b'\202\323\344\223\002\030\022\026/decimal/swap/v1/swaps',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Swap',
    full_name='decimal.swap.v1.Query.Swap',
    index=1,
    containing_service=None,
    input_type=_QUERYSWAPREQUEST,
    output_type=_QUERYSWAPRESPONSE,
    serialized_options=b'\202\323\344\223\002\'\022%/decimal/swap/v1/swap/{hashed_secret}',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Pool',
    full_name='decimal.swap.v1.Query.Pool',
    index=2,
    containing_service=None,
    input_type=_QUERYPOOLREQUEST,
    output_type=_QUERYPOOLRESPONSE,
    serialized_options=b'\202\323\344\223\002\027\022\025/decimal/swap/v1/pool',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_QUERY)

DESCRIPTOR.services_by_name['Query'] = _QUERY

# @@protoc_insertion_point(module_scope)
