"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 0, '', 'cosmos/gov/v1beta1/gov.proto')
_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
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from ....cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2
from ....amino import amino_pb2 as amino_dot_amino__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ccosmos/gov/v1beta1/gov.proto\x12\x12cosmos.gov.v1beta1\x1a\x1ecosmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x19cosmos_proto/cosmos.proto\x1a\x11amino/amino.proto"\x92\x01\n\x12WeightedVoteOption\x12.\n\x06option\x18\x01 \x01(\x0e2\x1e.cosmos.gov.v1beta1.VoteOption\x12L\n\x06weight\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec"r\n\x0cTextProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0bdescription\x18\x02 \x01(\t:>\xe8\xa0\x1f\x01\xca\xb4-\x1acosmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17cosmos-sdk/TextProposal"\xb7\x01\n\x07Deposit\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12+\n\tdepositor\x18\x02 \x01(\tB\x18\xd2\xb4-\x14cosmos.AddressString\x12`\n\x06amount\x18\x03 \x03(\x0b2\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00"\xe0\x04\n\x08Proposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12E\n\x07content\x18\x02 \x01(\x0b2\x14.google.protobuf.AnyB\x1e\xca\xb4-\x1acosmos.gov.v1beta1.Content\x122\n\x06status\x18\x03 \x01(\x0e2".cosmos.gov.v1beta1.ProposalStatus\x12F\n\x12final_tally_result\x18\x04 \x01(\x0b2\x1f.cosmos.gov.v1beta1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12>\n\x0bsubmit_time\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12C\n\x10deposit_end_time\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12g\n\rtotal_deposit\x18\x07 \x03(\x0b2\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12D\n\x11voting_start_time\x18\x08 \x01(\x0b2\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01\x12B\n\x0fvoting_end_time\x18\t \x01(\x0b2\x1a.google.protobuf.TimestampB\r\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01"\xcb\x02\n\x0bTallyResult\x12I\n\x03yes\x18\x01 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12M\n\x07abstain\x18\x02 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12H\n\x02no\x18\x03 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\x12R\n\x0cno_with_veto\x18\x04 \x01(\tB<\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int:\x04\xe8\xa0\x1f\x01"\xda\x01\n\x04Vote\x12\'\n\x0bproposal_id\x18\x01 \x01(\x04B\x12\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14cosmos.AddressString\x122\n\x06option\x18\x03 \x01(\x0e2\x1e.cosmos.gov.v1beta1.VoteOptionB\x02\x18\x01\x12B\n\x07options\x18\x04 \x03(\x0b2&.cosmos.gov.v1beta1.WeightedVoteOptionB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x08\x98\xa0\x1f\x00\xe8\xa0\x1f\x00"\xeb\x01\n\rDepositParams\x12y\n\x0bmin_deposit\x18\x01 \x03(\x0b2\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12_\n\x12max_deposit_period\x18\x02 \x01(\x0b2\x19.google.protobuf.DurationB(\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01"e\n\x0cVotingParams\x12U\n\rvoting_period\x18\x01 \x01(\x0b2\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01"\x9f\x02\n\x0bTallyParams\x12R\n\x06quorum\x18\x01 \x01(\x0cBB\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x10quorum,omitempty\x12X\n\tthreshold\x18\x02 \x01(\x0cBE\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x13threshold,omitempty\x12b\n\x0eveto_threshold\x18\x03 \x01(\x0cBJ\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x18veto_threshold,omitempty*\xe6\x01\n\nVoteOption\x12,\n\x17VOTE_OPTION_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bOptionEmpty\x12"\n\x0fVOTE_OPTION_YES\x10\x01\x1a\r\x8a\x9d \tOptionYes\x12*\n\x13VOTE_OPTION_ABSTAIN\x10\x02\x1a\x11\x8a\x9d \rOptionAbstain\x12 \n\x0eVOTE_OPTION_NO\x10\x03\x1a\x0c\x8a\x9d \x08OptionNo\x122\n\x18VOTE_OPTION_NO_WITH_VETO\x10\x04\x1a\x14\x8a\x9d \x10OptionNoWithVeto\x1a\x04\x88\xa3\x1e\x00*\xcc\x02\n\x0eProposalStatus\x12.\n\x1bPROPOSAL_STATUS_UNSPECIFIED\x10\x00\x1a\r\x8a\x9d \tStatusNil\x12;\n\x1ePROPOSAL_STATUS_DEPOSIT_PERIOD\x10\x01\x1a\x17\x8a\x9d \x13StatusDepositPeriod\x129\n\x1dPROPOSAL_STATUS_VOTING_PERIOD\x10\x02\x1a\x16\x8a\x9d \x12StatusVotingPeriod\x12,\n\x16PROPOSAL_STATUS_PASSED\x10\x03\x1a\x10\x8a\x9d \x0cStatusPassed\x120\n\x18PROPOSAL_STATUS_REJECTED\x10\x04\x1a\x12\x8a\x9d \x0eStatusRejected\x12,\n\x16PROPOSAL_STATUS_FAILED\x10\x05\x1a\x10\x8a\x9d \x0cStatusFailed\x1a\x04\x88\xa3\x1e\x00B>Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\x80\xe2\x1e\x00b\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.v1beta1.gov_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
    _globals['DESCRIPTOR']._loaded_options = None
    _globals['DESCRIPTOR']._serialized_options = b'Z0github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\x80\xe2\x1e\x00'
    _globals['_VOTEOPTION']._loaded_options = None
    _globals['_VOTEOPTION']._serialized_options = b'\x88\xa3\x1e\x00'
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_UNSPECIFIED']._loaded_options = None
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_UNSPECIFIED']._serialized_options = b'\x8a\x9d \x0bOptionEmpty'
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_YES']._loaded_options = None
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_YES']._serialized_options = b'\x8a\x9d \tOptionYes'
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_ABSTAIN']._loaded_options = None
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_ABSTAIN']._serialized_options = b'\x8a\x9d \rOptionAbstain'
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_NO']._loaded_options = None
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_NO']._serialized_options = b'\x8a\x9d \x08OptionNo'
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_NO_WITH_VETO']._loaded_options = None
    _globals['_VOTEOPTION'].values_by_name['VOTE_OPTION_NO_WITH_VETO']._serialized_options = b'\x8a\x9d \x10OptionNoWithVeto'
    _globals['_PROPOSALSTATUS']._loaded_options = None
    _globals['_PROPOSALSTATUS']._serialized_options = b'\x88\xa3\x1e\x00'
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_UNSPECIFIED']._loaded_options = None
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_UNSPECIFIED']._serialized_options = b'\x8a\x9d \tStatusNil'
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_DEPOSIT_PERIOD']._loaded_options = None
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_DEPOSIT_PERIOD']._serialized_options = b'\x8a\x9d \x13StatusDepositPeriod'
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_VOTING_PERIOD']._loaded_options = None
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_VOTING_PERIOD']._serialized_options = b'\x8a\x9d \x12StatusVotingPeriod'
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_PASSED']._loaded_options = None
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_PASSED']._serialized_options = b'\x8a\x9d \x0cStatusPassed'
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_REJECTED']._loaded_options = None
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_REJECTED']._serialized_options = b'\x8a\x9d \x0eStatusRejected'
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_FAILED']._loaded_options = None
    _globals['_PROPOSALSTATUS'].values_by_name['PROPOSAL_STATUS_FAILED']._serialized_options = b'\x8a\x9d \x0cStatusFailed'
    _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._loaded_options = None
    _globals['_WEIGHTEDVOTEOPTION'].fields_by_name['weight']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xd2\xb4-\ncosmos.Dec'
    _globals['_TEXTPROPOSAL']._loaded_options = None
    _globals['_TEXTPROPOSAL']._serialized_options = b'\xe8\xa0\x1f\x01\xca\xb4-\x1acosmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17cosmos-sdk/TextProposal'
    _globals['_DEPOSIT'].fields_by_name['depositor']._loaded_options = None
    _globals['_DEPOSIT'].fields_by_name['depositor']._serialized_options = b'\xd2\xb4-\x14cosmos.AddressString'
    _globals['_DEPOSIT'].fields_by_name['amount']._loaded_options = None
    _globals['_DEPOSIT'].fields_by_name['amount']._serialized_options = b'\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01'
    _globals['_DEPOSIT']._loaded_options = None
    _globals['_DEPOSIT']._serialized_options = b'\x88\xa0\x1f\x00\xe8\xa0\x1f\x00'
    _globals['_PROPOSAL'].fields_by_name['content']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['content']._serialized_options = b'\xca\xb4-\x1acosmos.gov.v1beta1.Content'
    _globals['_PROPOSAL'].fields_by_name['final_tally_result']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['final_tally_result']._serialized_options = b'\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01'
    _globals['_PROPOSAL'].fields_by_name['submit_time']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['submit_time']._serialized_options = b'\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01'
    _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['deposit_end_time']._serialized_options = b'\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01'
    _globals['_PROPOSAL'].fields_by_name['total_deposit']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['total_deposit']._serialized_options = b'\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01'
    _globals['_PROPOSAL'].fields_by_name['voting_start_time']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['voting_start_time']._serialized_options = b'\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01'
    _globals['_PROPOSAL'].fields_by_name['voting_end_time']._loaded_options = None
    _globals['_PROPOSAL'].fields_by_name['voting_end_time']._serialized_options = b'\xc8\xde\x1f\x00\x90\xdf\x1f\x01\xa8\xe7\xb0*\x01'
    _globals['_PROPOSAL']._loaded_options = None
    _globals['_PROPOSAL']._serialized_options = b'\xe8\xa0\x1f\x01'
    _globals['_TALLYRESULT'].fields_by_name['yes']._loaded_options = None
    _globals['_TALLYRESULT'].fields_by_name['yes']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int'
    _globals['_TALLYRESULT'].fields_by_name['abstain']._loaded_options = None
    _globals['_TALLYRESULT'].fields_by_name['abstain']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int'
    _globals['_TALLYRESULT'].fields_by_name['no']._loaded_options = None
    _globals['_TALLYRESULT'].fields_by_name['no']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int'
    _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._loaded_options = None
    _globals['_TALLYRESULT'].fields_by_name['no_with_veto']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int'
    _globals['_TALLYRESULT']._loaded_options = None
    _globals['_TALLYRESULT']._serialized_options = b'\xe8\xa0\x1f\x01'
    _globals['_VOTE'].fields_by_name['proposal_id']._loaded_options = None
    _globals['_VOTE'].fields_by_name['proposal_id']._serialized_options = b'\xea\xde\x1f\x02id\xa2\xe7\xb0*\x02id\xa8\xe7\xb0*\x01'
    _globals['_VOTE'].fields_by_name['voter']._loaded_options = None
    _globals['_VOTE'].fields_by_name['voter']._serialized_options = b'\xd2\xb4-\x14cosmos.AddressString'
    _globals['_VOTE'].fields_by_name['option']._loaded_options = None
    _globals['_VOTE'].fields_by_name['option']._serialized_options = b'\x18\x01'
    _globals['_VOTE'].fields_by_name['options']._loaded_options = None
    _globals['_VOTE'].fields_by_name['options']._serialized_options = b'\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01'
    _globals['_VOTE']._loaded_options = None
    _globals['_VOTE']._serialized_options = b'\x98\xa0\x1f\x00\xe8\xa0\x1f\x00'
    _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._loaded_options = None
    _globals['_DEPOSITPARAMS'].fields_by_name['min_deposit']._serialized_options = b'\xc8\xde\x1f\x00\xea\xde\x1f\x15min_deposit,omitempty\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins'
    _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._loaded_options = None
    _globals['_DEPOSITPARAMS'].fields_by_name['max_deposit_period']._serialized_options = b'\xc8\xde\x1f\x00\xea\xde\x1f\x1cmax_deposit_period,omitempty\x98\xdf\x1f\x01'
    _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._loaded_options = None
    _globals['_VOTINGPARAMS'].fields_by_name['voting_period']._serialized_options = b'\xc8\xde\x1f\x00\xea\xde\x1f\x17voting_period,omitempty\x98\xdf\x1f\x01'
    _globals['_TALLYPARAMS'].fields_by_name['quorum']._loaded_options = None
    _globals['_TALLYPARAMS'].fields_by_name['quorum']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x10quorum,omitempty'
    _globals['_TALLYPARAMS'].fields_by_name['threshold']._loaded_options = None
    _globals['_TALLYPARAMS'].fields_by_name['threshold']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x13threshold,omitempty'
    _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._loaded_options = None
    _globals['_TALLYPARAMS'].fields_by_name['veto_threshold']._serialized_options = b'\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\xea\xde\x1f\x18veto_threshold,omitempty'
    _globals['_VOTEOPTION']._serialized_start = 2493
    _globals['_VOTEOPTION']._serialized_end = 2723
    _globals['_PROPOSALSTATUS']._serialized_start = 2726
    _globals['_PROPOSALSTATUS']._serialized_end = 3058
    _globals['_WEIGHTEDVOTEOPTION']._serialized_start = 245
    _globals['_WEIGHTEDVOTEOPTION']._serialized_end = 391
    _globals['_TEXTPROPOSAL']._serialized_start = 393
    _globals['_TEXTPROPOSAL']._serialized_end = 507
    _globals['_DEPOSIT']._serialized_start = 510
    _globals['_DEPOSIT']._serialized_end = 693
    _globals['_PROPOSAL']._serialized_start = 696
    _globals['_PROPOSAL']._serialized_end = 1304
    _globals['_TALLYRESULT']._serialized_start = 1307
    _globals['_TALLYRESULT']._serialized_end = 1638
    _globals['_VOTE']._serialized_start = 1641
    _globals['_VOTE']._serialized_end = 1859
    _globals['_DEPOSITPARAMS']._serialized_start = 1862
    _globals['_DEPOSITPARAMS']._serialized_end = 2097
    _globals['_VOTINGPARAMS']._serialized_start = 2099
    _globals['_VOTINGPARAMS']._serialized_end = 2200
    _globals['_TALLYPARAMS']._serialized_start = 2203
    _globals['_TALLYPARAMS']._serialized_end = 2490