# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: nibiru/oracle/v1/oracle.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 gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dnibiru/oracle/v1/oracle.proto\x12\x10nibiru.oracle.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xcf\x08\n\x06Params\x12\x37\n\x0bvote_period\x18\x01 \x01(\x04\x42\x16\xf2\xde\x1f\x12yaml:\"vote_period\"R\nvotePeriod\x12n\n\x0evote_threshold\x18\x02 \x01(\tBG\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x15yaml:\"vote_threshold\"R\rvoteThreshold\x12\x65\n\x0breward_band\x18\x03 \x01(\tBD\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x12yaml:\"reward_band\"R\nrewardBand\x12g\n\twhitelist\x18\x04 \x03(\tBI\xda\xde\x1f\x31github.com/NibiruChain/nibiru/x/common/asset.Pair\xf2\xde\x1f\x10yaml:\"whitelist\"R\twhitelist\x12n\n\x0eslash_fraction\x18\x05 \x01(\tBG\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x15yaml:\"slash_fraction\"R\rslashFraction\x12:\n\x0cslash_window\x18\x06 \x01(\x04\x42\x17\xf2\xde\x1f\x13yaml:\"slash_window\"R\x0bslashWindow\x12~\n\x14min_valid_per_window\x18\x07 \x01(\tBM\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x1byaml:\"min_valid_per_window\"R\x11minValidPerWindow\x12\x96\x01\n\x14twap_lookback_window\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationBI\xc8\xde\x1f\x00\xea\xde\x1f\x1etwap_lookback_window,omitempty\xf2\xde\x1f\x1byaml:\"twap_lookback_window\"\x98\xdf\x1f\x01R\x12twapLookbackWindow\x12\x34\n\nmin_voters\x18\t \x01(\x04\x42\x15\xf2\xde\x1f\x11yaml:\"min_voters\"R\tminVoters\x12|\n\x13validator_fee_ratio\x18\n \x01(\tBL\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x1ayaml:\"validator_fee_ratio\"R\x11validatorFeeRatio\x12I\n\x11\x65xpiration_blocks\x18\x0b \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"expiration_blocks\"R\x10\x65xpirationBlocks:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\"\xb5\x01\n\x1c\x41ggregateExchangeRatePrevote\x12#\n\x04hash\x18\x01 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:\"hash\"R\x04hash\x12&\n\x05voter\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"voter\"R\x05voter\x12:\n\x0csubmit_block\x18\x03 \x01(\x04\x42\x17\xf2\xde\x1f\x13yaml:\"submit_block\"R\x0bsubmitBlock:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xe4\x01\n\x19\x41ggregateExchangeRateVote\x12\x90\x01\n\x14\x65xchange_rate_tuples\x18\x01 \x03(\x0b\x32#.nibiru.oracle.v1.ExchangeRateTupleB9\xc8\xde\x1f\x00\xf2\xde\x1f\x1byaml:\"exchange_rate_tuples\"\xaa\xdf\x1f\x12\x45xchangeRateTuplesR\x12\x65xchangeRateTuples\x12&\n\x05voter\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"voter\"R\x05voter:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xec\x01\n\x11\x45xchangeRateTuple\x12\\\n\x04pair\x18\x01 \x01(\tBH\xc8\xde\x1f\x00\xda\xde\x1f\x31github.com/NibiruChain/nibiru/x/common/asset.Pair\xf2\xde\x1f\x0byaml:\"pair\"R\x04pair\x12k\n\rexchange_rate\x18\x02 \x01(\tBF\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x14yaml:\"exchange_rate\"R\x0c\x65xchangeRate:\x0c\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb8\x01\n\nDatedPrice\x12k\n\rexchange_rate\x18\x01 \x01(\tBF\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xf2\xde\x1f\x14yaml:\"exchange_rate\"R\x0c\x65xchangeRate\x12=\n\rcreated_block\x18\x02 \x01(\x04\x42\x18\xf2\xde\x1f\x14yaml:\"created_block\"R\x0c\x63reatedBlock\"s\n\x07Rewards\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12!\n\x0cvote_periods\x18\x02 \x01(\x04R\x0bvotePeriods\x12\x35\n\x05\x63oins\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x05\x63oinsB.Z,github.com/NibiruChain/nibiru/x/oracle/typesb\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nibiru.oracle.v1.oracle_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z,github.com/NibiruChain/nibiru/x/oracle/types'
  _PARAMS.fields_by_name['vote_period']._options = None
  _PARAMS.fields_by_name['vote_period']._serialized_options = b'\362\336\037\022yaml:\"vote_period\"'
  _PARAMS.fields_by_name['vote_threshold']._options = None
  _PARAMS.fields_by_name['vote_threshold']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\025yaml:\"vote_threshold\"'
  _PARAMS.fields_by_name['reward_band']._options = None
  _PARAMS.fields_by_name['reward_band']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\022yaml:\"reward_band\"'
  _PARAMS.fields_by_name['whitelist']._options = None
  _PARAMS.fields_by_name['whitelist']._serialized_options = b'\332\336\0371github.com/NibiruChain/nibiru/x/common/asset.Pair\362\336\037\020yaml:\"whitelist\"'
  _PARAMS.fields_by_name['slash_fraction']._options = None
  _PARAMS.fields_by_name['slash_fraction']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\025yaml:\"slash_fraction\"'
  _PARAMS.fields_by_name['slash_window']._options = None
  _PARAMS.fields_by_name['slash_window']._serialized_options = b'\362\336\037\023yaml:\"slash_window\"'
  _PARAMS.fields_by_name['min_valid_per_window']._options = None
  _PARAMS.fields_by_name['min_valid_per_window']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\033yaml:\"min_valid_per_window\"'
  _PARAMS.fields_by_name['twap_lookback_window']._options = None
  _PARAMS.fields_by_name['twap_lookback_window']._serialized_options = b'\310\336\037\000\352\336\037\036twap_lookback_window,omitempty\362\336\037\033yaml:\"twap_lookback_window\"\230\337\037\001'
  _PARAMS.fields_by_name['min_voters']._options = None
  _PARAMS.fields_by_name['min_voters']._serialized_options = b'\362\336\037\021yaml:\"min_voters\"'
  _PARAMS.fields_by_name['validator_fee_ratio']._options = None
  _PARAMS.fields_by_name['validator_fee_ratio']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\032yaml:\"validator_fee_ratio\"'
  _PARAMS.fields_by_name['expiration_blocks']._options = None
  _PARAMS.fields_by_name['expiration_blocks']._serialized_options = b'\362\336\037\030yaml:\"expiration_blocks\"'
  _PARAMS._options = None
  _PARAMS._serialized_options = b'\230\240\037\000\350\240\037\001'
  _AGGREGATEEXCHANGERATEPREVOTE.fields_by_name['hash']._options = None
  _AGGREGATEEXCHANGERATEPREVOTE.fields_by_name['hash']._serialized_options = b'\362\336\037\013yaml:\"hash\"'
  _AGGREGATEEXCHANGERATEPREVOTE.fields_by_name['voter']._options = None
  _AGGREGATEEXCHANGERATEPREVOTE.fields_by_name['voter']._serialized_options = b'\362\336\037\014yaml:\"voter\"'
  _AGGREGATEEXCHANGERATEPREVOTE.fields_by_name['submit_block']._options = None
  _AGGREGATEEXCHANGERATEPREVOTE.fields_by_name['submit_block']._serialized_options = b'\362\336\037\023yaml:\"submit_block\"'
  _AGGREGATEEXCHANGERATEPREVOTE._options = None
  _AGGREGATEEXCHANGERATEPREVOTE._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000'
  _AGGREGATEEXCHANGERATEVOTE.fields_by_name['exchange_rate_tuples']._options = None
  _AGGREGATEEXCHANGERATEVOTE.fields_by_name['exchange_rate_tuples']._serialized_options = b'\310\336\037\000\362\336\037\033yaml:\"exchange_rate_tuples\"\252\337\037\022ExchangeRateTuples'
  _AGGREGATEEXCHANGERATEVOTE.fields_by_name['voter']._options = None
  _AGGREGATEEXCHANGERATEVOTE.fields_by_name['voter']._serialized_options = b'\362\336\037\014yaml:\"voter\"'
  _AGGREGATEEXCHANGERATEVOTE._options = None
  _AGGREGATEEXCHANGERATEVOTE._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000'
  _EXCHANGERATETUPLE.fields_by_name['pair']._options = None
  _EXCHANGERATETUPLE.fields_by_name['pair']._serialized_options = b'\310\336\037\000\332\336\0371github.com/NibiruChain/nibiru/x/common/asset.Pair\362\336\037\013yaml:\"pair\"'
  _EXCHANGERATETUPLE.fields_by_name['exchange_rate']._options = None
  _EXCHANGERATETUPLE.fields_by_name['exchange_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\024yaml:\"exchange_rate\"'
  _EXCHANGERATETUPLE._options = None
  _EXCHANGERATETUPLE._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\000'
  _DATEDPRICE.fields_by_name['exchange_rate']._options = None
  _DATEDPRICE.fields_by_name['exchange_rate']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\362\336\037\024yaml:\"exchange_rate\"'
  _DATEDPRICE.fields_by_name['created_block']._options = None
  _DATEDPRICE.fields_by_name['created_block']._serialized_options = b'\362\336\037\024yaml:\"created_block\"'
  _REWARDS.fields_by_name['coins']._options = None
  _REWARDS.fields_by_name['coins']._serialized_options = b'\310\336\037\000'
  _PARAMS._serialized_start=138
  _PARAMS._serialized_end=1241
  _AGGREGATEEXCHANGERATEPREVOTE._serialized_start=1244
  _AGGREGATEEXCHANGERATEPREVOTE._serialized_end=1425
  _AGGREGATEEXCHANGERATEVOTE._serialized_start=1428
  _AGGREGATEEXCHANGERATEVOTE._serialized_end=1656
  _EXCHANGERATETUPLE._serialized_start=1659
  _EXCHANGERATETUPLE._serialized_end=1895
  _DATEDPRICE._serialized_start=1898
  _DATEDPRICE._serialized_end=2082
  _REWARDS._serialized_start=2084
  _REWARDS._serialized_end=2199
# @@protoc_insertion_point(module_scope)
