# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: terra/oracle/v1beta1/oracle.proto
"""Generated protocol buffer code."""
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 cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2
from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2

DESCRIPTOR = _descriptor.FileDescriptor(
    name="terra/oracle/v1beta1/oracle.proto",
    package="terra.oracle.v1beta1",
    syntax="proto3",
    serialized_options=b"Z*github.com/terra-money/core/x/oracle/types",
    create_key=_descriptor._internal_create_key,
    serialized_pb=b'\n!terra/oracle/v1beta1/oracle.proto\x12\x14terra.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto"\x9a\x05\n\x06Params\x12+\n\x0bvote_period\x18\x01 \x01(\x04\x42\x16\xf2\xde\x1f\x12yaml:"vote_period"\x12_\n\x0evote_threshold\x18\x02 \x01(\tBG\xf2\xde\x1f\x15yaml:"vote_threshold"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12Y\n\x0breward_band\x18\x03 \x01(\tBD\xf2\xde\x1f\x12yaml:"reward_band"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12I\n\x1areward_distribution_window\x18\x04 \x01(\x04\x42%\xf2\xde\x1f!yaml:"reward_distribution_window"\x12U\n\twhitelist\x18\x05 \x03(\x0b\x32\x1b.terra.oracle.v1beta1.DenomB%\xf2\xde\x1f\x10yaml:"whitelist"\xaa\xdf\x1f\tDenomList\xc8\xde\x1f\x00\x12_\n\x0eslash_fraction\x18\x06 \x01(\tBG\xf2\xde\x1f\x15yaml:"slash_fraction"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00\x12-\n\x0cslash_window\x18\x07 \x01(\x04\x42\x17\xf2\xde\x1f\x13yaml:"slash_window"\x12k\n\x14min_valid_per_window\x18\x08 \x01(\tBM\xf2\xde\x1f\x1byaml:"min_valid_per_window"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x08\xe8\xa0\x1f\x01\x98\xa0\x1f\x00"\x8b\x01\n\x05\x44\x65nom\x12\x1d\n\x04name\x18\x01 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"name"\x12U\n\ttobin_tax\x18\x02 \x01(\tBB\xf2\xde\x1f\x10yaml:"tobin_tax"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00"\x9b\x01\n\x1c\x41ggregateExchangeRatePrevote\x12\x1d\n\x04hash\x18\x01 \x01(\tB\x0f\xf2\xde\x1f\x0byaml:"hash"\x12\x1f\n\x05voter\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"voter"\x12-\n\x0csubmit_block\x18\x03 \x01(\x04\x42\x17\xf2\xde\x1f\x13yaml:"submit_block":\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00"\xcd\x01\n\x19\x41ggregateExchangeRateVote\x12\x80\x01\n\x14\x65xchange_rate_tuples\x18\x01 \x03(\x0b\x32\'.terra.oracle.v1beta1.ExchangeRateTupleB9\xf2\xde\x1f\x1byaml:"exchange_rate_tuples"\xaa\xdf\x1f\x12\x45xchangeRateTuples\xc8\xde\x1f\x00\x12\x1f\n\x05voter\x18\x02 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"voter":\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00"\xa1\x01\n\x11\x45xchangeRateTuple\x12\x1f\n\x05\x64\x65nom\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:"denom"\x12]\n\rexchange_rate\x18\x02 \x01(\tBF\xf2\xde\x1f\x14yaml:"exchange_rate"\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xc8\xde\x1f\x00:\x0c\xe8\xa0\x1f\x00\x88\xa0\x1f\x00\x98\xa0\x1f\x00\x42,Z*github.com/terra-money/core/x/oracle/typesb\x06proto3',
    dependencies=[
        gogoproto_dot_gogo__pb2.DESCRIPTOR,
        cosmos_dot_base_dot_v1beta1_dot_coin__pb2.DESCRIPTOR,
    ],
)


_PARAMS = _descriptor.Descriptor(
    name="Params",
    full_name="terra.oracle.v1beta1.Params",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="vote_period",
            full_name="terra.oracle.v1beta1.Params.vote_period",
            index=0,
            number=1,
            type=4,
            cpp_type=4,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\362\336\037\022yaml:"vote_period"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="vote_threshold",
            full_name="terra.oracle.v1beta1.Params.vote_threshold",
            index=1,
            number=2,
            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=b'\362\336\037\025yaml:"vote_threshold"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="reward_band",
            full_name="terra.oracle.v1beta1.Params.reward_band",
            index=2,
            number=3,
            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=b'\362\336\037\022yaml:"reward_band"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="reward_distribution_window",
            full_name="terra.oracle.v1beta1.Params.reward_distribution_window",
            index=3,
            number=4,
            type=4,
            cpp_type=4,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\362\336\037!yaml:"reward_distribution_window"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="whitelist",
            full_name="terra.oracle.v1beta1.Params.whitelist",
            index=4,
            number=5,
            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'\362\336\037\020yaml:"whitelist"\252\337\037\tDenomList\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="slash_fraction",
            full_name="terra.oracle.v1beta1.Params.slash_fraction",
            index=5,
            number=6,
            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=b'\362\336\037\025yaml:"slash_fraction"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="slash_window",
            full_name="terra.oracle.v1beta1.Params.slash_window",
            index=6,
            number=7,
            type=4,
            cpp_type=4,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\362\336\037\023yaml:"slash_window"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="min_valid_per_window",
            full_name="terra.oracle.v1beta1.Params.min_valid_per_window",
            index=7,
            number=8,
            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=b'\362\336\037\033yaml:"min_valid_per_window"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\001\230\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=114,
    serialized_end=780,
)


_DENOM = _descriptor.Descriptor(
    name="Denom",
    full_name="terra.oracle.v1beta1.Denom",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="terra.oracle.v1beta1.Denom.name",
            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=b'\362\336\037\013yaml:"name"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="tobin_tax",
            full_name="terra.oracle.v1beta1.Denom.tobin_tax",
            index=1,
            number=2,
            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=b'\362\336\037\020yaml:"tobin_tax"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\000\210\240\037\000\230\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=783,
    serialized_end=922,
)


_AGGREGATEEXCHANGERATEPREVOTE = _descriptor.Descriptor(
    name="AggregateExchangeRatePrevote",
    full_name="terra.oracle.v1beta1.AggregateExchangeRatePrevote",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="hash",
            full_name="terra.oracle.v1beta1.AggregateExchangeRatePrevote.hash",
            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=b'\362\336\037\013yaml:"hash"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="voter",
            full_name="terra.oracle.v1beta1.AggregateExchangeRatePrevote.voter",
            index=1,
            number=2,
            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=b'\362\336\037\014yaml:"voter"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="submit_block",
            full_name="terra.oracle.v1beta1.AggregateExchangeRatePrevote.submit_block",
            index=2,
            number=3,
            type=4,
            cpp_type=4,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=b'\362\336\037\023yaml:"submit_block"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\000\210\240\037\000\230\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=925,
    serialized_end=1080,
)


_AGGREGATEEXCHANGERATEVOTE = _descriptor.Descriptor(
    name="AggregateExchangeRateVote",
    full_name="terra.oracle.v1beta1.AggregateExchangeRateVote",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="exchange_rate_tuples",
            full_name="terra.oracle.v1beta1.AggregateExchangeRateVote.exchange_rate_tuples",
            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'\362\336\037\033yaml:"exchange_rate_tuples"\252\337\037\022ExchangeRateTuples\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="voter",
            full_name="terra.oracle.v1beta1.AggregateExchangeRateVote.voter",
            index=1,
            number=2,
            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=b'\362\336\037\014yaml:"voter"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\000\210\240\037\000\230\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1083,
    serialized_end=1288,
)


_EXCHANGERATETUPLE = _descriptor.Descriptor(
    name="ExchangeRateTuple",
    full_name="terra.oracle.v1beta1.ExchangeRateTuple",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
        _descriptor.FieldDescriptor(
            name="denom",
            full_name="terra.oracle.v1beta1.ExchangeRateTuple.denom",
            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=b'\362\336\037\014yaml:"denom"',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
        _descriptor.FieldDescriptor(
            name="exchange_rate",
            full_name="terra.oracle.v1beta1.ExchangeRateTuple.exchange_rate",
            index=1,
            number=2,
            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=b'\362\336\037\024yaml:"exchange_rate"\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec\310\336\037\000',
            file=DESCRIPTOR,
            create_key=_descriptor._internal_create_key,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=b"\350\240\037\000\210\240\037\000\230\240\037\000",
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1291,
    serialized_end=1452,
)

_PARAMS.fields_by_name["whitelist"].message_type = _DENOM
_AGGREGATEEXCHANGERATEVOTE.fields_by_name[
    "exchange_rate_tuples"
].message_type = _EXCHANGERATETUPLE
DESCRIPTOR.message_types_by_name["Params"] = _PARAMS
DESCRIPTOR.message_types_by_name["Denom"] = _DENOM
DESCRIPTOR.message_types_by_name[
    "AggregateExchangeRatePrevote"
] = _AGGREGATEEXCHANGERATEPREVOTE
DESCRIPTOR.message_types_by_name[
    "AggregateExchangeRateVote"
] = _AGGREGATEEXCHANGERATEVOTE
DESCRIPTOR.message_types_by_name["ExchangeRateTuple"] = _EXCHANGERATETUPLE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Params = _reflection.GeneratedProtocolMessageType(
    "Params",
    (_message.Message,),
    {
        "DESCRIPTOR": _PARAMS,
        "__module__": "terra.oracle.v1beta1.oracle_pb2"
        # @@protoc_insertion_point(class_scope:terra.oracle.v1beta1.Params)
    },
)
_sym_db.RegisterMessage(Params)

Denom = _reflection.GeneratedProtocolMessageType(
    "Denom",
    (_message.Message,),
    {
        "DESCRIPTOR": _DENOM,
        "__module__": "terra.oracle.v1beta1.oracle_pb2"
        # @@protoc_insertion_point(class_scope:terra.oracle.v1beta1.Denom)
    },
)
_sym_db.RegisterMessage(Denom)

AggregateExchangeRatePrevote = _reflection.GeneratedProtocolMessageType(
    "AggregateExchangeRatePrevote",
    (_message.Message,),
    {
        "DESCRIPTOR": _AGGREGATEEXCHANGERATEPREVOTE,
        "__module__": "terra.oracle.v1beta1.oracle_pb2"
        # @@protoc_insertion_point(class_scope:terra.oracle.v1beta1.AggregateExchangeRatePrevote)
    },
)
_sym_db.RegisterMessage(AggregateExchangeRatePrevote)

AggregateExchangeRateVote = _reflection.GeneratedProtocolMessageType(
    "AggregateExchangeRateVote",
    (_message.Message,),
    {
        "DESCRIPTOR": _AGGREGATEEXCHANGERATEVOTE,
        "__module__": "terra.oracle.v1beta1.oracle_pb2"
        # @@protoc_insertion_point(class_scope:terra.oracle.v1beta1.AggregateExchangeRateVote)
    },
)
_sym_db.RegisterMessage(AggregateExchangeRateVote)

ExchangeRateTuple = _reflection.GeneratedProtocolMessageType(
    "ExchangeRateTuple",
    (_message.Message,),
    {
        "DESCRIPTOR": _EXCHANGERATETUPLE,
        "__module__": "terra.oracle.v1beta1.oracle_pb2"
        # @@protoc_insertion_point(class_scope:terra.oracle.v1beta1.ExchangeRateTuple)
    },
)
_sym_db.RegisterMessage(ExchangeRateTuple)


DESCRIPTOR._options = None
_PARAMS.fields_by_name["vote_period"]._options = None
_PARAMS.fields_by_name["vote_threshold"]._options = None
_PARAMS.fields_by_name["reward_band"]._options = None
_PARAMS.fields_by_name["reward_distribution_window"]._options = None
_PARAMS.fields_by_name["whitelist"]._options = None
_PARAMS.fields_by_name["slash_fraction"]._options = None
_PARAMS.fields_by_name["slash_window"]._options = None
_PARAMS.fields_by_name["min_valid_per_window"]._options = None
_PARAMS._options = None
_DENOM.fields_by_name["name"]._options = None
_DENOM.fields_by_name["tobin_tax"]._options = None
_DENOM._options = None
_AGGREGATEEXCHANGERATEPREVOTE.fields_by_name["hash"]._options = None
_AGGREGATEEXCHANGERATEPREVOTE.fields_by_name["voter"]._options = None
_AGGREGATEEXCHANGERATEPREVOTE.fields_by_name["submit_block"]._options = None
_AGGREGATEEXCHANGERATEPREVOTE._options = None
_AGGREGATEEXCHANGERATEVOTE.fields_by_name["exchange_rate_tuples"]._options = None
_AGGREGATEEXCHANGERATEVOTE.fields_by_name["voter"]._options = None
_AGGREGATEEXCHANGERATEVOTE._options = None
_EXCHANGERATETUPLE.fields_by_name["denom"]._options = None
_EXCHANGERATETUPLE.fields_by_name["exchange_rate"]._options = None
_EXCHANGERATETUPLE._options = None
# @@protoc_insertion_point(module_scope)
