diff --git a/Makefile b/Makefile index 40b12f77..1a0ff730 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,9 @@ all: -EXCHANGE_PROTO_FILES=$(shell find ../injective-indexer/api/gen/grpc -type f -name '*.proto') -PROTO_DIRS=$(shell find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) gen: gen-client -gen-client: copy-proto - @for dir in $(PROTO_DIRS); do \ +gen-client: clone-all copy-proto + @for dir in $(shell find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq); do \ mkdir -p ./pyinjective/$${dir}; \ python3 -m grpc_tools.protoc \ -I proto \ @@ -14,25 +12,55 @@ gen-client: copy-proto $$(find ./$${dir} -type f -name '*.proto'); \ done; \ rm -rf proto + $(call clean_repos) echo "import os\nimport sys\n\nsys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))" > pyinjective/proto/__init__.py +define clean_repos + rm -Rf cosmos-sdk + rm -Rf ibc-go + rm -Rf cometbft + rm -Rf wasmd + rm -Rf injective-core + rm -Rf injective-indexer +endef + +clean-all: + $(call clean_repos) + +clone-injective-core: + git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.5-testnet --depth 1 --single-branch + +clone-injective-indexer: + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.45-rc5 --depth 1 --single-branch + +clone-cometbft: + git clone https://github.com/cometbft/cometbft.git -b v0.37.2 --depth 1 --single-branch + +clone-wasmd: + git clone https://github.com/InjectiveLabs/wasmd.git -b v0.40.2-inj --depth 1 --single-branch + +clone-cosmos-sdk: + git clone https://github.com/InjectiveLabs/cosmos-sdk.git -b v0.47.3-inj-6 --depth 1 --single-branch + +clone-ibc-go: + git clone https://github.com/InjectiveLabs/ibc-go.git -b v7.2.0-inj --depth 1 --single-branch + +clone-all: clone-cosmos-sdk clone-cometbft clone-ibc-go clone-wasmd clone-injective-core clone-injective-indexer + copy-proto: rm -rf pyinjective/proto mkdir -p proto/exchange - buf export buf.build/cosmos/cosmos-sdk:v0.47.0 --output=third_party - buf export https://github.com/cosmos/ibc-go.git --exclude-imports --output=third_party - buf export https://github.com/cometbft/cometbft.git --exclude-imports --output=third_party - buf export https://github.com/CosmWasm/wasmd.git --exclude-imports --output=./third_party - buf export https://github.com/cosmos/ics23.git --exclude-imports --output=./third_party - - cp -r ../injective-core/proto/injective proto/ - cp -r ./third_party/* proto/ + buf export ./cosmos-sdk --output=third_party + buf export ./ibc-go --exclude-imports --output=third_party + buf export ./cometbft --exclude-imports --output=third_party + buf export ./wasmd --exclude-imports --output=third_party + buf export https://github.com/cosmos/ics23.git --exclude-imports --output=third_party + cp -r injective-core/proto/injective proto/ + cp -r third_party/* proto/ rm -rf ./third_party - @for file in $(EXCHANGE_PROTO_FILES); do \ - cp "$${file}" proto/exchange/; \ - done + find ./injective-indexer/api/gen/grpc -type f -name "*.proto" -exec cp {} ./proto/exchange/ \; tests: poetry run pytest -v diff --git a/pyinjective/proto/capability/v1/capability_pb2.py b/pyinjective/proto/capability/v1/capability_pb2.py deleted file mode 100644 index 128ef745..00000000 --- a/pyinjective/proto/capability/v1/capability_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: capability/v1/capability.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63\x61pability/v1/capability.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"!\n\nCapability\x12\r\n\x05index\x18\x01 \x01(\x04:\x04\x98\xa0\x1f\x00\"/\n\x05Owner\x12\x0e\n\x06module\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"C\n\x10\x43\x61pabilityOwners\x12/\n\x06owners\x18\x01 \x03(\x0b\x32\x14.capability.v1.OwnerB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.capability_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' - _CAPABILITY._options = None - _CAPABILITY._serialized_options = b'\230\240\037\000' - _OWNER._options = None - _OWNER._serialized_options = b'\210\240\037\000\230\240\037\000' - _CAPABILITYOWNERS.fields_by_name['owners']._options = None - _CAPABILITYOWNERS.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_CAPABILITY']._serialized_start=90 - _globals['_CAPABILITY']._serialized_end=123 - _globals['_OWNER']._serialized_start=125 - _globals['_OWNER']._serialized_end=172 - _globals['_CAPABILITYOWNERS']._serialized_start=174 - _globals['_CAPABILITYOWNERS']._serialized_end=241 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2.py b/pyinjective/proto/capability/v1/genesis_pb2.py deleted file mode 100644 index 8b0b5a50..00000000 --- a/pyinjective/proto/capability/v1/genesis_pb2.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: capability/v1/genesis.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from capability.v1 import capability_pb2 as capability_dot_v1_dot_capability__pb2 -from amino import amino_pb2 as amino_dot_amino__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63\x61pability/v1/genesis.proto\x12\rcapability.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63\x61pability/v1/capability.proto\x1a\x11\x61mino/amino.proto\"`\n\rGenesisOwners\x12\r\n\x05index\x18\x01 \x01(\x04\x12@\n\x0cindex_owners\x18\x02 \x01(\x0b\x32\x1f.capability.v1.CapabilityOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"V\n\x0cGenesisState\x12\r\n\x05index\x18\x01 \x01(\x04\x12\x37\n\x06owners\x18\x02 \x03(\x0b\x32\x1c.capability.v1.GenesisOwnersB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x42\x33Z1github.com/cosmos/ibc-go/modules/capability/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'capability.v1.genesis_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z1github.com/cosmos/ibc-go/modules/capability/types' - _GENESISOWNERS.fields_by_name['index_owners']._options = None - _GENESISOWNERS.fields_by_name['index_owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _GENESISSTATE.fields_by_name['owners']._options = None - _GENESISSTATE.fields_by_name['owners']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _globals['_GENESISOWNERS']._serialized_start=119 - _globals['_GENESISOWNERS']._serialized_end=215 - _globals['_GENESISSTATE']._serialized_start=217 - _globals['_GENESISSTATE']._serialized_end=303 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py index 43fe867b..9e9dc1e1 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbd\x01\n\x08MsgGrant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\"\n\x0fMsgExecResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"\x9a\x01\n\x07MsgExec\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12?\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.Msg:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"\x12\n\x10MsgGrantResponse\"\x9e\x01\n\tMsgRevoke\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cmsg_type_url\x18\x03 \x01(\t:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse2\xff\x01\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x1a\x05\x80\xe7\xb0*\x01\x42*Z$github.com/cosmos/cosmos-sdk/x/authz\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/authz/v1beta1/tx.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x11\x61mino/amino.proto\"\xbd\x01\n\x08MsgGrant\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x35\n\x05grant\x18\x03 \x01(\x0b\x32\x1b.cosmos.authz.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:$\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x13\x63osmos-sdk/MsgGrant\"\"\n\x0fMsgExecResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"\x9a\x01\n\x07MsgExec\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12?\n\x04msgs\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x1b\xca\xb4-\x17\x63osmos.base.v1beta1.Msg:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec\"\x12\n\x10MsgGrantResponse\"\x9e\x01\n\tMsgRevoke\x12)\n\x07granter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12)\n\x07grantee\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x14\n\x0cmsg_type_url\x18\x03 \x01(\t:%\x82\xe7\xb0*\x07granter\x8a\xe7\xb0*\x14\x63osmos-sdk/MsgRevoke\"\x13\n\x11MsgRevokeResponse\"(\n\x15MsgExecCompatResponse\x12\x0f\n\x07results\x18\x01 \x03(\x0c\"m\n\rMsgExecCompat\x12)\n\x07grantee\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04msgs\x18\x02 \x03(\t:#\x82\xe7\xb0*\x07grantee\x8a\xe7\xb0*\x12\x63osmos-sdk/MsgExec2\xdf\x02\n\x03Msg\x12O\n\x05Grant\x12\x1e.cosmos.authz.v1beta1.MsgGrant\x1a&.cosmos.authz.v1beta1.MsgGrantResponse\x12L\n\x04\x45xec\x12\x1d.cosmos.authz.v1beta1.MsgExec\x1a%.cosmos.authz.v1beta1.MsgExecResponse\x12R\n\x06Revoke\x12\x1f.cosmos.authz.v1beta1.MsgRevoke\x1a\'.cosmos.authz.v1beta1.MsgRevokeResponse\x12^\n\nExecCompat\x12#.cosmos.authz.v1beta1.MsgExecCompat\x1a+.cosmos.authz.v1beta1.MsgExecCompatResponse\x1a\x05\x80\xe7\xb0*\x01\x42*Z$github.com/cosmos/cosmos-sdk/x/authz\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -48,6 +48,10 @@ _MSGREVOKE.fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGREVOKE._options = None _MSGREVOKE._serialized_options = b'\202\347\260*\007granter\212\347\260*\024cosmos-sdk/MsgRevoke' + _MSGEXECCOMPAT.fields_by_name['grantee']._options = None + _MSGEXECCOMPAT.fields_by_name['grantee']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGEXECCOMPAT._options = None + _MSGEXECCOMPAT._serialized_options = b'\202\347\260*\007grantee\212\347\260*\022cosmos-sdk/MsgExec' _MSG._options = None _MSG._serialized_options = b'\200\347\260*\001' _globals['_MSGGRANT']._serialized_start=210 @@ -62,6 +66,10 @@ _globals['_MSGREVOKE']._serialized_end=773 _globals['_MSGREVOKERESPONSE']._serialized_start=775 _globals['_MSGREVOKERESPONSE']._serialized_end=794 - _globals['_MSG']._serialized_start=797 - _globals['_MSG']._serialized_end=1052 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_start=796 + _globals['_MSGEXECCOMPATRESPONSE']._serialized_end=836 + _globals['_MSGEXECCOMPAT']._serialized_start=838 + _globals['_MSGEXECCOMPAT']._serialized_end=947 + _globals['_MSG']._serialized_start=950 + _globals['_MSG']._serialized_end=1301 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py index c91de7dc..435adeae 100644 --- a/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py @@ -30,6 +30,11 @@ def __init__(self, channel): request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.SerializeToString, response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, ) + self.ExecCompat = channel.unary_unary( + '/cosmos.authz.v1beta1.Msg/ExecCompat', + request_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + response_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + ) class MsgServicer(object): @@ -63,6 +68,13 @@ def Revoke(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def ExecCompat(self, request, context): + """ExecCompat has same functionality as Exec but accepts array of json-encoded message string instead of []*Any + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -81,6 +93,11 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevoke.FromString, response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.SerializeToString, ), + 'ExecCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecCompat, + request_deserializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.FromString, + response_serializer=cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmos.authz.v1beta1.Msg', rpc_method_handlers) @@ -142,3 +159,20 @@ def Revoke(request, cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgRevokeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmos.authz.v1beta1.Msg/ExecCompat', + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompat.SerializeToString, + cosmos_dot_authz_dot_v1beta1_dot_tx__pb2.MsgExecCompatResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py new file mode 100644 index 00000000..4605a32c --- /dev/null +++ b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/bank/v1beta1/events.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@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 amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/bank/v1beta1/events.proto\x12\x13\x63osmos.bank.v1beta1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"O\n\x10\x45ventSetBalances\x12;\n\x0f\x62\x61lance_updates\x18\x01 \x03(\x0b\x32\".cosmos.bank.v1beta1.BalanceUpdate\"|\n\rBalanceUpdate\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\x0c\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\x0c\x12N\n\x03\x61mt\x18\x03 \x01(\tBA\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\xd2\xb4-\ncosmos.Int\xa8\xe7\xb0*\x01\x42+Z)github.com/cosmos/cosmos-sdk/x/bank/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.v1beta1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/x/bank/types' + _BALANCEUPDATE.fields_by_name['amt']._options = None + _BALANCEUPDATE.fields_by_name['amt']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Int\322\264-\ncosmos.Int\250\347\260*\001' + _globals['_EVENTSETBALANCES']._serialized_start=125 + _globals['_EVENTSETBALANCES']._serialized_end=204 + _globals['_BALANCEUPDATE']._serialized_start=206 + _globals['_BALANCEUPDATE']._serialized_end=330 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/capability_pb2_grpc.py b/pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py similarity index 100% rename from pyinjective/proto/capability/v1/capability_pb2_grpc.py rename to pyinjective/proto/cosmos/bank/v1beta1/events_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py new file mode 100644 index 00000000..dd9e1f46 --- /dev/null +++ b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/store/v1beta1/commit_info.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+cosmos/base/store/v1beta1/commit_info.proto\x12\x19\x63osmos.base.store.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x97\x01\n\nCommitInfo\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12?\n\x0bstore_infos\x18\x02 \x03(\x0b\x32$.cosmos.base.store.v1beta1.StoreInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\"W\n\tStoreInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\tcommit_id\x18\x02 \x01(\x0b\x32#.cosmos.base.store.v1beta1.CommitIDB\x04\xc8\xde\x1f\x00\"/\n\x08\x43ommitID\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\x0c\n\x04hash\x18\x02 \x01(\x0c:\x04\x98\xa0\x1f\x00\x42*Z(github.com/cosmos/cosmos-sdk/store/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.store.v1beta1.commit_info_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/store/types' + _COMMITINFO.fields_by_name['store_infos']._options = None + _COMMITINFO.fields_by_name['store_infos']._serialized_options = b'\310\336\037\000' + _COMMITINFO.fields_by_name['timestamp']._options = None + _COMMITINFO.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' + _STOREINFO.fields_by_name['commit_id']._options = None + _STOREINFO.fields_by_name['commit_id']._serialized_options = b'\310\336\037\000' + _COMMITID._options = None + _COMMITID._serialized_options = b'\230\240\037\000' + _globals['_COMMITINFO']._serialized_start=130 + _globals['_COMMITINFO']._serialized_end=281 + _globals['_STOREINFO']._serialized_start=283 + _globals['_STOREINFO']._serialized_end=370 + _globals['_COMMITID']._serialized_start=372 + _globals['_COMMITID']._serialized_end=419 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/capability/v1/genesis_pb2_grpc.py b/pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py similarity index 100% rename from pyinjective/proto/capability/v1/genesis_pb2_grpc.py rename to pyinjective/proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py new file mode 100644 index 00000000..718f817d --- /dev/null +++ b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmos/base/store/v1beta1/listening.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cosmos/base/store/v1beta1/listening.proto\x12\x19\x63osmos.base.store.v1beta1\x1a\x1btendermint/abci/types.proto\"L\n\x0bStoreKVPair\x12\x11\n\tstore_key\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65lete\x18\x02 \x01(\x08\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\r\n\x05value\x18\x04 \x01(\x0c\"\x89\x04\n\rBlockMetadata\x12?\n\x13request_begin_block\x18\x01 \x01(\x0b\x32\".tendermint.abci.RequestBeginBlock\x12\x41\n\x14response_begin_block\x18\x02 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlock\x12G\n\x0b\x64\x65liver_txs\x18\x03 \x03(\x0b\x32\x32.cosmos.base.store.v1beta1.BlockMetadata.DeliverTx\x12;\n\x11request_end_block\x18\x04 \x01(\x0b\x32 .tendermint.abci.RequestEndBlock\x12=\n\x12response_end_block\x18\x05 \x01(\x0b\x32!.tendermint.abci.ResponseEndBlock\x12\x38\n\x0fresponse_commit\x18\x06 \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommit\x1au\n\tDeliverTx\x12\x32\n\x07request\x18\x01 \x01(\x0b\x32!.tendermint.abci.RequestDeliverTx\x12\x34\n\x08response\x18\x02 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxB*Z(github.com/cosmos/cosmos-sdk/store/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.store.v1beta1.listening_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/store/types' + _globals['_STOREKVPAIR']._serialized_start=101 + _globals['_STOREKVPAIR']._serialized_end=177 + _globals['_BLOCKMETADATA']._serialized_start=180 + _globals['_BLOCKMETADATA']._serialized_end=701 + _globals['_BLOCKMETADATA_DELIVERTX']._serialized_start=584 + _globals['_BLOCKMETADATA_DELIVERTX']._serialized_end=701 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py b/pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py rename to pyinjective/proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py diff --git a/pyinjective/proto/cosmos/group/v1/events_pb2.py b/pyinjective/proto/cosmos/group/v1/events_pb2.py index 8d4088ad..69f94a3c 100644 --- a/pyinjective/proto/cosmos/group/v1/events_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/events_pb2.py @@ -15,7 +15,7 @@ from cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"$\n\x10\x45ventCreateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"$\n\x10\x45ventUpdateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"C\n\x16\x45ventCreateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"C\n\x16\x45ventUpdateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"*\n\x13\x45ventSubmitProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\",\n\x15\x45ventWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\" \n\tEventVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"g\n\tEventExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12\x0c\n\x04logs\x18\x03 \x01(\t\"N\n\x0f\x45ventLeaveGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/group/v1/events.proto\x12\x0f\x63osmos.group.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1b\x63osmos/group/v1/types.proto\"$\n\x10\x45ventCreateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"$\n\x10\x45ventUpdateGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"C\n\x16\x45ventCreateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"C\n\x16\x45ventUpdateGroupPolicy\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"*\n\x13\x45ventSubmitProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\",\n\x15\x45ventWithdrawProposal\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\" \n\tEventVote\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"g\n\tEventExec\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\x37\n\x06result\x18\x02 \x01(\x0e\x32\'.cosmos.group.v1.ProposalExecutorResult\x12\x0c\n\x04logs\x18\x03 \x01(\t\"N\n\x0f\x45ventLeaveGroup\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12)\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x8f\x01\n\x13\x45ventProposalPruned\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12/\n\x06status\x18\x02 \x01(\x0e\x32\x1f.cosmos.group.v1.ProposalStatus\x12\x32\n\x0ctally_result\x18\x03 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -48,4 +48,6 @@ _globals['_EVENTEXEC']._serialized_end=546 _globals['_EVENTLEAVEGROUP']._serialized_start=548 _globals['_EVENTLEAVEGROUP']._serialized_end=626 + _globals['_EVENTPROPOSALPRUNED']._serialized_start=629 + _globals['_EVENTPROPOSALPRUNED']._serialized_end=772 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2.py b/pyinjective/proto/cosmos/group/v1/query_pb2.py index c0af2ab3..8b196e34 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\")\n\x15QueryGroupInfoRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"B\n\x16QueryGroupInfoResponse\x12(\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\"H\n\x1bQueryGroupPolicyInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"N\n\x1cQueryGroupPolicyInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\"h\n\x18QueryGroupMembersRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x87\x01\n\x19QueryGroupMembersResponse\x12-\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMember\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x80\x01\n\x19QueryGroupsByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x1aQueryGroupsByAdminResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"p\n QueryGroupPoliciesByGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByGroupResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x87\x01\n QueryGroupPoliciesByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByAdminResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"D\n\x15QueryProposalResponse\x12+\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.Proposal\"\x8b\x01\n\"QueryProposalsByGroupPolicyRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n#QueryProposalsByGroupPolicyResponse\x12,\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.Proposal\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"_\n\x1fQueryVoteByProposalVoterRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"G\n QueryVoteByProposalVoterResponse\x12#\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.Vote\"n\n\x1bQueryVotesByProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x81\x01\n\x1cQueryVotesByProposalResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x7f\n\x18QueryVotesByVoterRequest\x12\'\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x19QueryVotesByVoterResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x83\x01\n\x1aQueryGroupsByMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x86\x01\n\x1bQueryGroupsByMemberResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x18QueryTallyResultResponse\x12\x36\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x32\x85\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tallyB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/group/v1/query.proto\x12\x0f\x63osmos.group.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x63osmos/group/v1/types.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\")\n\x15QueryGroupInfoRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\"B\n\x16QueryGroupInfoResponse\x12(\n\x04info\x18\x01 \x01(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\"H\n\x1bQueryGroupPolicyInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"N\n\x1cQueryGroupPolicyInfoResponse\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\"h\n\x18QueryGroupMembersRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x87\x01\n\x19QueryGroupMembersResponse\x12-\n\x07members\x18\x01 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMember\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x80\x01\n\x19QueryGroupsByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x85\x01\n\x1aQueryGroupsByAdminResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"p\n QueryGroupPoliciesByGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByGroupResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x87\x01\n QueryGroupPoliciesByAdminRequest\x12\'\n\x05\x61\x64min\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x9a\x01\n!QueryGroupPoliciesByAdminResponse\x12\x38\n\x0egroup_policies\x18\x01 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"+\n\x14QueryProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"D\n\x15QueryProposalResponse\x12+\n\x08proposal\x18\x01 \x01(\x0b\x32\x19.cosmos.group.v1.Proposal\"\x8b\x01\n\"QueryProposalsByGroupPolicyRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n#QueryProposalsByGroupPolicyResponse\x12,\n\tproposals\x18\x01 \x03(\x0b\x32\x19.cosmos.group.v1.Proposal\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"_\n\x1fQueryVoteByProposalVoterRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12\'\n\x05voter\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"G\n QueryVoteByProposalVoterResponse\x12#\n\x04vote\x18\x01 \x01(\x0b\x32\x15.cosmos.group.v1.Vote\"n\n\x1bQueryVotesByProposalRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x81\x01\n\x1cQueryVotesByProposalResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x7f\n\x18QueryVotesByVoterRequest\x12\'\n\x05voter\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x19QueryVotesByVoterResponse\x12$\n\x05votes\x18\x01 \x03(\x0b\x32\x15.cosmos.group.v1.Vote\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x83\x01\n\x1aQueryGroupsByMemberRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x86\x01\n\x1bQueryGroupsByMemberResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\".\n\x17QueryTallyResultRequest\x12\x13\n\x0bproposal_id\x18\x01 \x01(\x04\"R\n\x18QueryTallyResultResponse\x12\x36\n\x05tally\x18\x01 \x01(\x0b\x32\x1c.cosmos.group.v1.TallyResultB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"P\n\x12QueryGroupsRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"~\n\x13QueryGroupsResponse\x12*\n\x06groups\x18\x01 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfo\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xfb\x11\n\x05Query\x12\x8c\x01\n\tGroupInfo\x12&.cosmos.group.v1.QueryGroupInfoRequest\x1a\'.cosmos.group.v1.QueryGroupInfoResponse\".\x82\xd3\xe4\x93\x02(\x12&/cosmos/group/v1/group_info/{group_id}\x12\xa4\x01\n\x0fGroupPolicyInfo\x12,.cosmos.group.v1.QueryGroupPolicyInfoRequest\x1a-.cosmos.group.v1.QueryGroupPolicyInfoResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmos/group/v1/group_policy_info/{address}\x12\x98\x01\n\x0cGroupMembers\x12).cosmos.group.v1.QueryGroupMembersRequest\x1a*.cosmos.group.v1.QueryGroupMembersResponse\"1\x82\xd3\xe4\x93\x02+\x12)/cosmos/group/v1/group_members/{group_id}\x12\x9a\x01\n\rGroupsByAdmin\x12*.cosmos.group.v1.QueryGroupsByAdminRequest\x1a+.cosmos.group.v1.QueryGroupsByAdminResponse\"0\x82\xd3\xe4\x93\x02*\x12(/cosmos/group/v1/groups_by_admin/{admin}\x12\xba\x01\n\x14GroupPoliciesByGroup\x12\x31.cosmos.group.v1.QueryGroupPoliciesByGroupRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByGroupResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/cosmos/group/v1/group_policies_by_group/{group_id}\x12\xb7\x01\n\x14GroupPoliciesByAdmin\x12\x31.cosmos.group.v1.QueryGroupPoliciesByAdminRequest\x1a\x32.cosmos.group.v1.QueryGroupPoliciesByAdminResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/group_policies_by_admin/{admin}\x12\x8a\x01\n\x08Proposal\x12%.cosmos.group.v1.QueryProposalRequest\x1a&.cosmos.group.v1.QueryProposalResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/proposal/{proposal_id}\x12\xc1\x01\n\x16ProposalsByGroupPolicy\x12\x33.cosmos.group.v1.QueryProposalsByGroupPolicyRequest\x1a\x34.cosmos.group.v1.QueryProposalsByGroupPolicyResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/cosmos/group/v1/proposals_by_group_policy/{address}\x12\xc1\x01\n\x13VoteByProposalVoter\x12\x30.cosmos.group.v1.QueryVoteByProposalVoterRequest\x1a\x31.cosmos.group.v1.QueryVoteByProposalVoterResponse\"E\x82\xd3\xe4\x93\x02?\x12=/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}\x12\xa8\x01\n\x0fVotesByProposal\x12,.cosmos.group.v1.QueryVotesByProposalRequest\x1a-.cosmos.group.v1.QueryVotesByProposalResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cosmos/group/v1/votes_by_proposal/{proposal_id}\x12\x96\x01\n\x0cVotesByVoter\x12).cosmos.group.v1.QueryVotesByVoterRequest\x1a*.cosmos.group.v1.QueryVotesByVoterResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/cosmos/group/v1/votes_by_voter/{voter}\x12\xa0\x01\n\x0eGroupsByMember\x12+.cosmos.group.v1.QueryGroupsByMemberRequest\x1a,.cosmos.group.v1.QueryGroupsByMemberResponse\"3\x82\xd3\xe4\x93\x02-\x12+/cosmos/group/v1/groups_by_member/{address}\x12\x9a\x01\n\x0bTallyResult\x12(.cosmos.group.v1.QueryTallyResultRequest\x1a).cosmos.group.v1.QueryTallyResultResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./cosmos/group/v1/proposals/{proposal_id}/tally\x12t\n\x06Groups\x12#.cosmos.group.v1.QueryGroupsRequest\x1a$.cosmos.group.v1.QueryGroupsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/cosmos/group/v1/groupsB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -70,6 +70,8 @@ _QUERY.methods_by_name['GroupsByMember']._serialized_options = b'\202\323\344\223\002-\022+/cosmos/group/v1/groups_by_member/{address}' _QUERY.methods_by_name['TallyResult']._options = None _QUERY.methods_by_name['TallyResult']._serialized_options = b'\202\323\344\223\0020\022./cosmos/group/v1/proposals/{proposal_id}/tally' + _QUERY.methods_by_name['Groups']._options = None + _QUERY.methods_by_name['Groups']._serialized_options = b'\202\323\344\223\002\031\022\027/cosmos/group/v1/groups' _globals['_QUERYGROUPINFOREQUEST']._serialized_start=219 _globals['_QUERYGROUPINFOREQUEST']._serialized_end=260 _globals['_QUERYGROUPINFORESPONSE']._serialized_start=262 @@ -122,6 +124,10 @@ _globals['_QUERYTALLYRESULTREQUEST']._serialized_end=2953 _globals['_QUERYTALLYRESULTRESPONSE']._serialized_start=2955 _globals['_QUERYTALLYRESULTRESPONSE']._serialized_end=3037 - _globals['_QUERY']._serialized_start=3040 - _globals['_QUERY']._serialized_end=5221 + _globals['_QUERYGROUPSREQUEST']._serialized_start=3039 + _globals['_QUERYGROUPSREQUEST']._serialized_end=3119 + _globals['_QUERYGROUPSRESPONSE']._serialized_start=3121 + _globals['_QUERYGROUPSRESPONSE']._serialized_end=3247 + _globals['_QUERY']._serialized_start=3250 + _globals['_QUERY']._serialized_end=5549 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py index 7590de63..728db883 100644 --- a/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py +++ b/pyinjective/proto/cosmos/group/v1/query_pb2_grpc.py @@ -80,6 +80,11 @@ def __init__(self, channel): request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.SerializeToString, response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, ) + self.Groups = channel.unary_unary( + '/cosmos.group.v1.Query/Groups', + request_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + response_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + ) class QueryServicer(object): @@ -181,6 +186,15 @@ def TallyResult(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Groups(self, request, context): + """Groups queries all groups in state. + + Since: cosmos-sdk 0.47.1 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { @@ -249,6 +263,11 @@ def add_QueryServicer_to_server(servicer, server): request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultRequest.FromString, response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.SerializeToString, ), + 'Groups': grpc.unary_unary_rpc_method_handler( + servicer.Groups, + request_deserializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.FromString, + response_serializer=cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmos.group.v1.Query', rpc_method_handlers) @@ -480,3 +499,20 @@ def TallyResult(request, cosmos_dot_group_dot_v1_dot_query__pb2.QueryTallyResultResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Groups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/cosmos.group.v1.Query/Groups', + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsRequest.SerializeToString, + cosmos_dot_group_dot_v1_dot_query__pb2.QueryGroupsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py index 6417d59d..30c32723 100644 --- a/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py +++ b/pyinjective/proto/cosmos/tx/signing/v1beta1/signing_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"Z\n\x14SignatureDescriptors\x12\x42\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptor\"\xa4\x04\n\x13SignatureDescriptor\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x41\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x1a\x8d\x03\n\x04\x44\x61ta\x12L\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00\x12J\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00\x1aN\n\x06Single\x12\x31\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x1a\x93\x01\n\x05Multi\x12\x41\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArray\x12G\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataB\x05\n\x03sum*\xa5\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42/Z-github.com/cosmos/cosmos-sdk/types/tx/signingb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/tx/signing/v1beta1/signing.proto\x12\x19\x63osmos.tx.signing.v1beta1\x1a-cosmos/crypto/multisig/v1beta1/multisig.proto\x1a\x19google/protobuf/any.proto\"Z\n\x14SignatureDescriptors\x12\x42\n\nsignatures\x18\x01 \x03(\x0b\x32..cosmos.tx.signing.v1beta1.SignatureDescriptor\"\xa4\x04\n\x13SignatureDescriptor\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x41\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x1a\x8d\x03\n\x04\x44\x61ta\x12L\n\x06single\x18\x01 \x01(\x0b\x32:.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.SingleH\x00\x12J\n\x05multi\x18\x02 \x01(\x0b\x32\x39.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.MultiH\x00\x1aN\n\x06Single\x12\x31\n\x04mode\x18\x01 \x01(\x0e\x32#.cosmos.tx.signing.v1beta1.SignMode\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x1a\x93\x01\n\x05Multi\x12\x41\n\x08\x62itarray\x18\x01 \x01(\x0b\x32/.cosmos.crypto.multisig.v1beta1.CompactBitArray\x12G\n\nsignatures\x18\x02 \x03(\x0b\x32\x33.cosmos.tx.signing.v1beta1.SignatureDescriptor.DataB\x05\n\x03sum*\xbf\x01\n\x08SignMode\x12\x19\n\x15SIGN_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10SIGN_MODE_DIRECT\x10\x01\x12\x15\n\x11SIGN_MODE_TEXTUAL\x10\x02\x12\x18\n\x14SIGN_MODE_DIRECT_AUX\x10\x03\x12\x1f\n\x1bSIGN_MODE_LEGACY_AMINO_JSON\x10\x7f\x12\x18\n\x13SIGN_MODE_EIP712_V2\x10\x80\x01\x12\x16\n\x11SIGN_MODE_EIP_191\x10\xbf\x01\x42/Z-github.com/cosmos/cosmos-sdk/types/tx/signingb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,7 +25,7 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/types/tx/signing' _globals['_SIGNMODE']._serialized_start=788 - _globals['_SIGNMODE']._serialized_end=953 + _globals['_SIGNMODE']._serialized_end=979 _globals['_SIGNATUREDESCRIPTORS']._serialized_start=144 _globals['_SIGNATUREDESCRIPTORS']._serialized_end=234 _globals['_SIGNATUREDESCRIPTOR']._serialized_start=237 diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index a1395c1c..cf25dbc3 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -14,12 +14,11 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\x98\x01\n\x16StoreCodeAuthorization\x12\x36\n\x06grants\x18\x01 \x03(\x0b\x32\x1b.cosmwasm.wasm.v1.CodeGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:F\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*\x1bwasm/StoreCodeAuthorization\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"^\n\tCodeGrant\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12>\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\"\xdb\x01\n\rContractGrant\x12*\n\x08\x63ontract\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/authz.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"\xac\x01\n\x1e\x43ontractExecutionAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractExecutionAuthorization\"\xac\x01\n\x1e\x43ontractMigrationAuthorization\x12:\n\x06grants\x18\x01 \x03(\x0b\x32\x1f.cosmwasm.wasm.v1.ContractGrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:N\xca\xb4-\"cosmos.authz.v1beta1.Authorization\x8a\xe7\xb0*#wasm/ContractMigrationAuthorization\"\xc1\x01\n\rContractGrant\x12\x10\n\x08\x63ontract\x18\x01 \x01(\t\x12M\n\x05limit\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB(\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x12O\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB)\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\"c\n\rMaxCallsLimit\x12\x11\n\tremaining\x18\x01 \x01(\x04:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxCallsLimit\"\xb3\x01\n\rMaxFundsLimit\x12\x61\n\x07\x61mounts\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/MaxFundsLimit\"\xcc\x01\n\rCombinedLimit\x12\x17\n\x0f\x63\x61lls_remaining\x18\x01 \x01(\x04\x12\x61\n\x07\x61mounts\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:?\xca\xb4-$cosmwasm.wasm.v1.ContractAuthzLimitX\x8a\xe7\xb0*\x12wasm/CombinedLimit\"c\n\x16\x41llowAllMessagesFilter:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AllowAllMessagesFilter\"w\n\x19\x41\x63\x63\x65ptedMessageKeysFilter\x12\x0c\n\x04keys\x18\x01 \x03(\t:L\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1ewasm/AcceptedMessageKeysFilter\"\x8d\x01\n\x16\x41\x63\x63\x65ptedMessagesFilter\x12(\n\x08messages\x18\x01 \x03(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:I\xca\xb4-%cosmwasm.wasm.v1.ContractAuthzFilterX\x8a\xe7\xb0*\x1bwasm/AcceptedMessagesFilterB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,10 +27,6 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' - _STORECODEAUTHORIZATION.fields_by_name['grants']._options = None - _STORECODEAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _STORECODEAUTHORIZATION._options = None - _STORECODEAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*\033wasm/StoreCodeAuthorization' _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._options = None _CONTRACTEXECUTIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTEXECUTIONAUTHORIZATION._options = None @@ -40,8 +35,6 @@ _CONTRACTMIGRATIONAUTHORIZATION.fields_by_name['grants']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTMIGRATIONAUTHORIZATION._options = None _CONTRACTMIGRATIONAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization\212\347\260*#wasm/ContractMigrationAuthorization' - _CONTRACTGRANT.fields_by_name['contract']._options = None - _CONTRACTGRANT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACTGRANT.fields_by_name['limit']._options = None _CONTRACTGRANT.fields_by_name['limit']._serialized_options = b'\312\264-$cosmwasm.wasm.v1.ContractAuthzLimitX' _CONTRACTGRANT.fields_by_name['filter']._options = None @@ -64,26 +57,22 @@ _ACCEPTEDMESSAGESFILTER.fields_by_name['messages']._serialized_options = b'\372\336\037\022RawContractMessage' _ACCEPTEDMESSAGESFILTER._options = None _ACCEPTEDMESSAGESFILTER._serialized_options = b'\312\264-%cosmwasm.wasm.v1.ContractAuthzFilterX\212\347\260*\033wasm/AcceptedMessagesFilter' - _globals['_STORECODEAUTHORIZATION']._serialized_start=208 - _globals['_STORECODEAUTHORIZATION']._serialized_end=360 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=363 - _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=535 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=538 - _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=710 - _globals['_CODEGRANT']._serialized_start=712 - _globals['_CODEGRANT']._serialized_end=806 - _globals['_CONTRACTGRANT']._serialized_start=809 - _globals['_CONTRACTGRANT']._serialized_end=1028 - _globals['_MAXCALLSLIMIT']._serialized_start=1030 - _globals['_MAXCALLSLIMIT']._serialized_end=1129 - _globals['_MAXFUNDSLIMIT']._serialized_start=1132 - _globals['_MAXFUNDSLIMIT']._serialized_end=1311 - _globals['_COMBINEDLIMIT']._serialized_start=1314 - _globals['_COMBINEDLIMIT']._serialized_end=1518 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1520 - _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1619 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1621 - _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1740 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1743 - _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1884 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_start=178 + _globals['_CONTRACTEXECUTIONAUTHORIZATION']._serialized_end=350 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_start=353 + _globals['_CONTRACTMIGRATIONAUTHORIZATION']._serialized_end=525 + _globals['_CONTRACTGRANT']._serialized_start=528 + _globals['_CONTRACTGRANT']._serialized_end=721 + _globals['_MAXCALLSLIMIT']._serialized_start=723 + _globals['_MAXCALLSLIMIT']._serialized_end=822 + _globals['_MAXFUNDSLIMIT']._serialized_start=825 + _globals['_MAXFUNDSLIMIT']._serialized_end=1004 + _globals['_COMBINEDLIMIT']._serialized_start=1007 + _globals['_COMBINEDLIMIT']._serialized_end=1211 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_start=1213 + _globals['_ALLOWALLMESSAGESFILTER']._serialized_end=1312 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_start=1314 + _globals['_ACCEPTEDMESSAGEKEYSFILTER']._serialized_end=1433 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_start=1436 + _globals['_ACCEPTEDMESSAGESFILTER']._serialized_end=1577 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py index 225daf64..18e31e46 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -14,10 +14,9 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\x92\x02\n\x08\x43ontract\x12\x32\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmwasm/wasm/v1/genesis.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xaa\x02\n\x0cGenesisState\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x43\n\x05\x63odes\x18\x02 \x03(\x0b\x32\x16.cosmwasm.wasm.v1.CodeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x0f\x63odes,omitempty\xa8\xe7\xb0*\x01\x12O\n\tcontracts\x18\x03 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.ContractB \xc8\xde\x1f\x00\xea\xde\x1f\x13\x63ontracts,omitempty\xa8\xe7\xb0*\x01\x12O\n\tsequences\x18\x04 \x03(\x0b\x32\x1a.cosmwasm.wasm.v1.SequenceB \xc8\xde\x1f\x00\xea\xde\x1f\x13sequences,omitempty\xa8\xe7\xb0*\x01\"\x81\x01\n\x04\x43ode\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x38\n\tcode_info\x18\x02 \x01(\x0b\x32\x1a.cosmwasm.wasm.v1.CodeInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x12\n\ncode_bytes\x18\x03 \x01(\x0c\x12\x0e\n\x06pinned\x18\x04 \x01(\x08\"\xf8\x01\n\x08\x43ontract\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12@\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12:\n\x0e\x63ontract_state\x18\x03 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12T\n\x15\x63ontract_code_history\x18\x04 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"4\n\x08Sequence\x12\x19\n\x06id_key\x18\x01 \x01(\x0c\x42\t\xe2\xde\x1f\x05IDKey\x12\r\n\x05value\x18\x02 \x01(\x04\x42(Z&github.com/CosmWasm/wasmd/x/wasm/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -38,8 +37,6 @@ _CODE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _CODE.fields_by_name['code_info']._options = None _CODE.fields_by_name['code_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _CONTRACT.fields_by_name['contract_address']._options = None - _CONTRACT.fields_by_name['contract_address']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACT.fields_by_name['contract_info']._options = None _CONTRACT.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACT.fields_by_name['contract_state']._options = None @@ -48,12 +45,12 @@ _CONTRACT.fields_by_name['contract_code_history']._serialized_options = b'\310\336\037\000\250\347\260*\001' _SEQUENCE.fields_by_name['id_key']._options = None _SEQUENCE.fields_by_name['id_key']._serialized_options = b'\342\336\037\005IDKey' - _globals['_GENESISSTATE']._serialized_start=151 - _globals['_GENESISSTATE']._serialized_end=449 - _globals['_CODE']._serialized_start=452 - _globals['_CODE']._serialized_end=581 - _globals['_CONTRACT']._serialized_start=584 - _globals['_CONTRACT']._serialized_end=858 - _globals['_SEQUENCE']._serialized_start=860 - _globals['_SEQUENCE']._serialized_end=912 + _globals['_GENESISSTATE']._serialized_start=124 + _globals['_GENESISSTATE']._serialized_end=422 + _globals['_CODE']._serialized_start=425 + _globals['_CODE']._serialized_end=554 + _globals['_CONTRACT']._serialized_start=557 + _globals['_CONTRACT']._serialized_end=805 + _globals['_SEQUENCE']._serialized_start=807 + _globals['_SEQUENCE']._serialized_end=859 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py new file mode 100644 index 00000000..49b6692c --- /dev/null +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cosmwasm/wasm/v1/proposal.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 +from cosmwasm.wasm.v1 import types_pb2 as cosmwasm_dot_wasm_dot_v1_dot_types__pb2 +from amino import amino_pb2 as amino_dot_amino__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmwasm/wasm/v1/proposal.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x11\x61mino/amino.proto\"\xc2\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x07 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x08 \x01(\x08\x12\x0e\n\x06source\x18\t \x01(\t\x12\x0f\n\x07\x62uilder\x18\n \x01(\t\x12\x11\n\tcode_hash\x18\x0b \x01(\x0c:;\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x16wasm/StoreCodeProposalJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\xd9\x02\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:E\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0* wasm/InstantiateContractProposal\"\xfa\x02\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\r\n\x05\x61\x64min\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x06 \x01(\t\x12#\n\x03msg\x18\x07 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x08 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\t \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\n \x01(\x08:F\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!wasm/InstantiateContract2Proposal\"\xd4\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x05 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x06 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/MigrateContractProposal\"\xb1\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:>\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x19wasm/SudoContractProposal\"\xa8\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:A\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1cwasm/ExecuteContractProposal\"\xb3\x01\n\x13UpdateAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\'\n\tnew_admin\x18\x03 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"new_admin\"\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\x88\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xce\x01\n\x10PinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\"::\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x15wasm/PinCodesProposal\"\xd2\x01\n\x12UnpinCodesProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12\x30\n\x08\x63ode_ids\x18\x03 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/UnpinCodesProposal\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8a\x02\n\x1fUpdateInstantiateConfigProposal\x12\x1f\n\x05title\x18\x01 \x01(\tB\x10\xf2\xde\x1f\x0cyaml:\"title\"\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"description\"\x12N\n\x15\x61\x63\x63\x65ss_config_updates\x18\x03 \x03(\x0b\x32$.cosmwasm.wasm.v1.AccessConfigUpdateB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:I\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*$wasm/UpdateInstantiateConfigProposal\"\xfe\x03\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06run_as\x18\x03 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x04 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x06 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x07 \x01(\t\x12\r\n\x05label\x18\x08 \x01(\t\x12#\n\x03msg\x18\t \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\n \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0c \x01(\t\x12\x11\n\tcode_hash\x18\r \x01(\x0c:M\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(wasm/StoreAndInstantiateContractProposalB4Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xd8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmwasm.wasm.v1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\330\341\036\000\250\342\036\001' + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STORECODEPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STORECODEPROPOSAL._options = None + _STORECODEPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\026wasm/StoreCodeProposal' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACTPROPOSAL._options = None + _INSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260* wasm/InstantiateContractProposal' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _INSTANTIATECONTRACT2PROPOSAL._options = None + _INSTANTIATECONTRACT2PROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!wasm/InstantiateContract2Proposal' + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _MIGRATECONTRACTPROPOSAL._options = None + _MIGRATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/MigrateContractProposal' + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _SUDOCONTRACTPROPOSAL._options = None + _SUDOCONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\031wasm/SudoContractProposal' + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _EXECUTECONTRACTPROPOSAL._options = None + _EXECUTECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\034wasm/ExecuteContractProposal' + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"' + _UPDATEADMINPROPOSAL._options = None + _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _CLEARADMINPROPOSAL._options = None + _CLEARADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/ClearAdminProposal' + _PINCODESPROPOSAL.fields_by_name['title']._options = None + _PINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _PINCODESPROPOSAL.fields_by_name['description']._options = None + _PINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _PINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _PINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _PINCODESPROPOSAL._options = None + _PINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\025wasm/PinCodesProposal' + _UNPINCODESPROPOSAL.fields_by_name['title']._options = None + _UNPINCODESPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _UNPINCODESPROPOSAL.fields_by_name['description']._options = None + _UNPINCODESPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._options = None + _UNPINCODESPROPOSAL.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs\362\336\037\017yaml:\"code_ids\"' + _UNPINCODESPROPOSAL._options = None + _UNPINCODESPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\027wasm/UnpinCodesProposal' + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None + _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['title']._serialized_options = b'\362\336\037\014yaml:\"title\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['description']._serialized_options = b'\362\336\037\022yaml:\"description\"' + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL.fields_by_name['access_config_updates']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _UPDATEINSTANTIATECONFIGPROPOSAL._options = None + _UPDATEINSTANTIATECONFIGPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*$wasm/UpdateInstantiateConfigProposal' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' + _STOREANDINSTANTIATECONTRACTPROPOSAL._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*(wasm/StoreAndInstantiateContractProposal' + _globals['_STORECODEPROPOSAL']._serialized_start=184 + _globals['_STORECODEPROPOSAL']._serialized_end=506 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=509 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=854 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=857 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1235 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1238 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1450 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1453 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1630 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1633 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=1929 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=1932 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2111 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2114 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2250 + _globals['_PINCODESPROPOSAL']._serialized_start=2253 + _globals['_PINCODESPROPOSAL']._serialized_end=2459 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2462 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2672 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2674 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=2798 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=2801 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3067 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3070 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3580 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py rename to pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2_grpc.py diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index eba7447c..bd8315e3 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -16,10 +16,9 @@ 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 amino import amino_pb2 as amino_dot_amino__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\x1a\x19\x63osmos_proto/cosmos.proto\"E\n\x18QueryContractInfoRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\"\x96\x01\n\x19QueryContractInfoResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"\x84\x01\n\x1bQueryContractHistoryRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x88\x01\n\x1cQueryContractsByCodeResponse\x12+\n\tcontracts\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x85\x01\n\x1cQueryAllContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"]\n\x1cQueryRawContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"w\n\x1eQuerySmartContractStateRequest\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\x86\x02\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\x8f\x01\n\x1eQueryContractsByCreatorRequest\x12\x31\n\x0f\x63reator_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x1fQueryContractsByCreatorResponse\x12\x34\n\x12\x63ontract_addresses\x18\x01 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/query.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x1cgoogle/api/annotations.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11\x61mino/amino.proto\"+\n\x18QueryContractInfoRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"|\n\x19QueryContractInfoResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12H\n\rcontract_info\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.ContractInfoB\x11\xc8\xde\x1f\x00\xd0\xde\x1f\x01\xea\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01\"j\n\x1bQueryContractHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa3\x01\n\x1cQueryContractHistoryResponse\x12\x46\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.cosmwasm.wasm.v1.ContractCodeHistoryEntryB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"j\n\x1bQueryContractsByCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"n\n\x1cQueryContractsByCodeResponse\x12\x11\n\tcontracts\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"k\n\x1cQueryAllContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x90\x01\n\x1dQueryAllContractStateResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x17.cosmwasm.wasm.v1.ModelB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"C\n\x1cQueryRawContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nquery_data\x18\x02 \x01(\x0c\"-\n\x1dQueryRawContractStateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"]\n\x1eQuerySmartContractStateRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12*\n\nquery_data\x18\x02 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"G\n\x1fQuerySmartContractStateResponse\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"#\n\x10QueryCodeRequest\x12\x0f\n\x07\x63ode_id\x18\x01 \x01(\x04\"\xec\x01\n\x10\x43odeInfoResponse\x12!\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\x10\xe2\xde\x1f\x06\x43odeID\xea\xde\x1f\x02id\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12G\n\tdata_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12I\n\x16instantiate_permission\x18\x06 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\x04\xe8\xa0\x1f\x01J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"r\n\x11QueryCodeResponse\x12?\n\tcode_info\x18\x01 \x01(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\x08\xd0\xde\x1f\x01\xea\xde\x1f\x00\x12\x16\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61ta:\x04\xe8\xa0\x1f\x01\"O\n\x11QueryCodesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\x94\x01\n\x12QueryCodesResponse\x12\x41\n\ncode_infos\x18\x01 \x03(\x0b\x32\".cosmwasm.wasm.v1.CodeInfoResponseB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"U\n\x17QueryPinnedCodesRequest\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"v\n\x18QueryPinnedCodesResponse\x12\x1d\n\x08\x63ode_ids\x18\x01 \x03(\x04\x42\x0b\xe2\xde\x1f\x07\x43odeIDs\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"J\n\x13QueryParamsResponse\x12\x33\n\x06params\x18\x01 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"u\n\x1eQueryContractsByCreatorRequest\x12\x17\n\x0f\x63reator_address\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"z\n\x1fQueryContractsByCreatorResponse\x12\x1a\n\x12\x63ontract_addresses\x18\x01 \x03(\t\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xc3\r\n\x05Query\x12\x95\x01\n\x0c\x43ontractInfo\x12*.cosmwasm.wasm.v1.QueryContractInfoRequest\x1a+.cosmwasm.wasm.v1.QueryContractInfoResponse\",\x82\xd3\xe4\x93\x02&\x12$/cosmwasm/wasm/v1/contract/{address}\x12\xa6\x01\n\x0f\x43ontractHistory\x12-.cosmwasm.wasm.v1.QueryContractHistoryRequest\x1a..cosmwasm.wasm.v1.QueryContractHistoryResponse\"4\x82\xd3\xe4\x93\x02.\x12,/cosmwasm/wasm/v1/contract/{address}/history\x12\xa4\x01\n\x0f\x43ontractsByCode\x12-.cosmwasm.wasm.v1.QueryContractsByCodeRequest\x1a..cosmwasm.wasm.v1.QueryContractsByCodeResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/code/{code_id}/contracts\x12\xa7\x01\n\x10\x41llContractState\x12..cosmwasm.wasm.v1.QueryAllContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryAllContractStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/cosmwasm/wasm/v1/contract/{address}/state\x12\xb2\x01\n\x10RawContractState\x12..cosmwasm.wasm.v1.QueryRawContractStateRequest\x1a/.cosmwasm.wasm.v1.QueryRawContractStateResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}\x12\xba\x01\n\x12SmartContractState\x12\x30.cosmwasm.wasm.v1.QuerySmartContractStateRequest\x1a\x31.cosmwasm.wasm.v1.QuerySmartContractStateResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}\x12y\n\x04\x43ode\x12\".cosmwasm.wasm.v1.QueryCodeRequest\x1a#.cosmwasm.wasm.v1.QueryCodeResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cosmwasm/wasm/v1/code/{code_id}\x12r\n\x05\x43odes\x12#.cosmwasm.wasm.v1.QueryCodesRequest\x1a$.cosmwasm.wasm.v1.QueryCodesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/cosmwasm/wasm/v1/code\x12\x8c\x01\n\x0bPinnedCodes\x12).cosmwasm.wasm.v1.QueryPinnedCodesRequest\x1a*.cosmwasm.wasm.v1.QueryPinnedCodesResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/pinned\x12}\n\x06Params\x12$.cosmwasm.wasm.v1.QueryParamsRequest\x1a%.cosmwasm.wasm.v1.QueryParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/cosmwasm/wasm/v1/codes/params\x12\xb8\x01\n\x12\x43ontractsByCreator\x12\x30.cosmwasm.wasm.v1.QueryContractsByCreatorRequest\x1a\x31.cosmwasm.wasm.v1.QueryContractsByCreatorResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/cosmwasm/wasm/v1/contracts/creator/{creator_address}B0Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,36 +27,20 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000\250\342\036\000' - _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._options = None - _QUERYCONTRACTINFOREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYCONTRACTINFORESPONSE.fields_by_name['address']._options = None - _QUERYCONTRACTINFORESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._options = None _QUERYCONTRACTINFORESPONSE.fields_by_name['contract_info']._serialized_options = b'\310\336\037\000\320\336\037\001\352\336\037\000\250\347\260*\001' _QUERYCONTRACTINFORESPONSE._options = None _QUERYCONTRACTINFORESPONSE._serialized_options = b'\350\240\037\001' - _QUERYCONTRACTHISTORYREQUEST.fields_by_name['address']._options = None - _QUERYCONTRACTHISTORYREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._options = None _QUERYCONTRACTHISTORYRESPONSE.fields_by_name['entries']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _QUERYCONTRACTSBYCODERESPONSE.fields_by_name['contracts']._options = None - _QUERYCONTRACTSBYCODERESPONSE.fields_by_name['contracts']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYALLCONTRACTSTATEREQUEST.fields_by_name['address']._options = None - _QUERYALLCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYALLCONTRACTSTATERESPONSE.fields_by_name['models']._options = None _QUERYALLCONTRACTSTATERESPONSE.fields_by_name['models']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _QUERYRAWCONTRACTSTATEREQUEST.fields_by_name['address']._options = None - _QUERYRAWCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['address']._options = None - _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['query_data']._options = None _QUERYSMARTCONTRACTSTATEREQUEST.fields_by_name['query_data']._serialized_options = b'\372\336\037\022RawContractMessage' _QUERYSMARTCONTRACTSTATERESPONSE.fields_by_name['data']._options = None _QUERYSMARTCONTRACTSTATERESPONSE.fields_by_name['data']._serialized_options = b'\372\336\037\022RawContractMessage' _CODEINFORESPONSE.fields_by_name['code_id']._options = None _CODEINFORESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID\352\336\037\002id' - _CODEINFORESPONSE.fields_by_name['creator']._options = None - _CODEINFORESPONSE.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' _CODEINFORESPONSE.fields_by_name['data_hash']._options = None _CODEINFORESPONSE.fields_by_name['data_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' _CODEINFORESPONSE.fields_by_name['instantiate_permission']._options = None @@ -76,10 +59,6 @@ _QUERYPINNEDCODESRESPONSE.fields_by_name['code_ids']._serialized_options = b'\342\336\037\007CodeIDs' _QUERYPARAMSRESPONSE.fields_by_name['params']._options = None _QUERYPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _QUERYCONTRACTSBYCREATORREQUEST.fields_by_name['creator_address']._options = None - _QUERYCONTRACTSBYCREATORREQUEST.fields_by_name['creator_address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _QUERYCONTRACTSBYCREATORRESPONSE.fields_by_name['contract_addresses']._options = None - _QUERYCONTRACTSBYCREATORRESPONSE.fields_by_name['contract_addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' _QUERY.methods_by_name['ContractInfo']._options = None _QUERY.methods_by_name['ContractInfo']._serialized_options = b'\202\323\344\223\002&\022$/cosmwasm/wasm/v1/contract/{address}' _QUERY.methods_by_name['ContractHistory']._options = None @@ -102,52 +81,52 @@ _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002 \022\036/cosmwasm/wasm/v1/codes/params' _QUERY.methods_by_name['ContractsByCreator']._options = None _QUERY.methods_by_name['ContractsByCreator']._serialized_options = b'\202\323\344\223\0027\0225/cosmwasm/wasm/v1/contracts/creator/{creator_address}' - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=222 - _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=291 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=294 - _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=444 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=447 - _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=579 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=582 - _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=745 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=747 - _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=853 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=856 - _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=992 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=995 - _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=1128 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=1131 - _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1275 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1277 - _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1370 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1372 - _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1417 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1419 - _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1538 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1540 - _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1611 - _globals['_QUERYCODEREQUEST']._serialized_start=1613 - _globals['_QUERYCODEREQUEST']._serialized_end=1648 - _globals['_CODEINFORESPONSE']._serialized_start=1651 - _globals['_CODEINFORESPONSE']._serialized_end=1913 - _globals['_QUERYCODERESPONSE']._serialized_start=1915 - _globals['_QUERYCODERESPONSE']._serialized_end=2029 - _globals['_QUERYCODESREQUEST']._serialized_start=2031 - _globals['_QUERYCODESREQUEST']._serialized_end=2110 - _globals['_QUERYCODESRESPONSE']._serialized_start=2113 - _globals['_QUERYCODESRESPONSE']._serialized_end=2261 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2263 - _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2348 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2350 - _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2468 - _globals['_QUERYPARAMSREQUEST']._serialized_start=2470 - _globals['_QUERYPARAMSREQUEST']._serialized_end=2490 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=2492 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=2566 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2569 - _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2712 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2715 - _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2863 - _globals['_QUERY']._serialized_start=2866 - _globals['_QUERY']._serialized_end=4597 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_start=195 + _globals['_QUERYCONTRACTINFOREQUEST']._serialized_end=238 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_start=240 + _globals['_QUERYCONTRACTINFORESPONSE']._serialized_end=364 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_start=366 + _globals['_QUERYCONTRACTHISTORYREQUEST']._serialized_end=472 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_start=475 + _globals['_QUERYCONTRACTHISTORYRESPONSE']._serialized_end=638 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_start=640 + _globals['_QUERYCONTRACTSBYCODEREQUEST']._serialized_end=746 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_start=748 + _globals['_QUERYCONTRACTSBYCODERESPONSE']._serialized_end=858 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_start=860 + _globals['_QUERYALLCONTRACTSTATEREQUEST']._serialized_end=967 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_start=970 + _globals['_QUERYALLCONTRACTSTATERESPONSE']._serialized_end=1114 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_start=1116 + _globals['_QUERYRAWCONTRACTSTATEREQUEST']._serialized_end=1183 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_start=1185 + _globals['_QUERYRAWCONTRACTSTATERESPONSE']._serialized_end=1230 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_start=1232 + _globals['_QUERYSMARTCONTRACTSTATEREQUEST']._serialized_end=1325 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_start=1327 + _globals['_QUERYSMARTCONTRACTSTATERESPONSE']._serialized_end=1398 + _globals['_QUERYCODEREQUEST']._serialized_start=1400 + _globals['_QUERYCODEREQUEST']._serialized_end=1435 + _globals['_CODEINFORESPONSE']._serialized_start=1438 + _globals['_CODEINFORESPONSE']._serialized_end=1674 + _globals['_QUERYCODERESPONSE']._serialized_start=1676 + _globals['_QUERYCODERESPONSE']._serialized_end=1790 + _globals['_QUERYCODESREQUEST']._serialized_start=1792 + _globals['_QUERYCODESREQUEST']._serialized_end=1871 + _globals['_QUERYCODESRESPONSE']._serialized_start=1874 + _globals['_QUERYCODESRESPONSE']._serialized_end=2022 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_start=2024 + _globals['_QUERYPINNEDCODESREQUEST']._serialized_end=2109 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_start=2111 + _globals['_QUERYPINNEDCODESRESPONSE']._serialized_end=2229 + _globals['_QUERYPARAMSREQUEST']._serialized_start=2231 + _globals['_QUERYPARAMSREQUEST']._serialized_end=2251 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=2253 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=2327 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_start=2329 + _globals['_QUERYCONTRACTSBYCREATORREQUEST']._serialized_end=2446 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_start=2448 + _globals['_QUERYCONTRACTSBYCREATORRESPONSE']._serialized_end=2570 + _globals['_QUERY']._serialized_start=2573 + _globals['_QUERY']._serialized_end=4304 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py index 1fc05201..22104afe 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py @@ -19,7 +19,7 @@ from amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xd1\x01\n\x0cMsgStoreCode\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\xca\x02\n\x16MsgInstantiateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"Y\n\x1eMsgInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xeb\x02\n\x17MsgInstantiateContract2\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"Z\n\x1fMsgInstantiateContract2Response\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x99\x02\n\x12MsgExecuteContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xd5\x01\n\x12MsgMigrateContract\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xb8\x01\n\x0eMsgUpdateAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12+\n\tnew_admin\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"\x89\x01\n\rMsgClearAdmin\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"|\n\x12\x41\x63\x63\x65ssConfigUpdate\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12I\n\x16instantiate_permission\x18\x02 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\"\xd8\x01\n\x1aMsgUpdateInstantiateConfig\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xb8\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xf5\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\'\n\x05\x61\x64min\x18\x06 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"a\n&MsgStoreAndInstantiateContractResponse\x12)\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb0\x01\n\x1fMsgAddCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":7\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*$wasm/MsgAddCodeUploadParamsAddresses\")\n\'MsgAddCodeUploadParamsAddressesResponse\"\xb6\x01\n\"MsgRemoveCodeUploadParamsAddresses\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\taddresses\x18\x02 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\"::\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\'wasm/MsgRemoveCodeUploadParamsAddresses\",\n*MsgRemoveCodeUploadParamsAddressesResponse\"\x9e\x02\n\x1aMsgStoreAndMigrateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63ontract\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:2\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x1fwasm/MsgStoreAndMigrateContract\"a\n\"MsgStoreAndMigrateContractResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xae\x01\n\x16MsgUpdateContractLabel\x12(\n\x06sender\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x11\n\tnew_label\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgUpdateContractLabel\" \n\x1eMsgUpdateContractLabelResponse2\xd5\x0e\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse\x12\x95\x01\n\x1fRemoveCodeUploadParamsAddresses\x12\x34.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses\x1a<.cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse\x12\x8c\x01\n\x1c\x41\x64\x64\x43odeUploadParamsAddresses\x12\x31.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses\x1a\x39.cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse\x12}\n\x17StoreAndMigrateContract\x12,.cosmwasm.wasm.v1.MsgStoreAndMigrateContract\x1a\x34.cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse\x12q\n\x13UpdateContractLabel\x12(.cosmwasm.wasm.v1.MsgUpdateContractLabel\x1a\x30.cosmwasm.wasm.v1.MsgUpdateContractLabelResponse\x1a\x05\x80\xe7\xb0*\x01\x42,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63osmwasm/wasm/v1/tx.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmwasm/wasm/v1/types.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xb7\x01\n\x0cMsgStoreCode\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12(\n\x0ewasm_byte_code\x18\x02 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:!\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x11wasm/MsgStoreCodeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"E\n\x14MsgStoreCodeResponse\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\x0c\"\x96\x02\n\x16MsgInstantiateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:+\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1bwasm/MsgInstantiateContract\"?\n\x1eMsgInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xb7\x02\n\x17MsgInstantiateContract2\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\r\n\x05label\x18\x04 \x01(\t\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0c\n\x04salt\x18\x07 \x01(\x0c\x12\x0f\n\x07\x66ix_msg\x18\x08 \x01(\x08:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1cwasm/MsgInstantiateContract2\"@\n\x1fMsgInstantiateContract2Response\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\xe5\x01\n\x12MsgExecuteContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\x05 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgExecuteContract\"*\n\x1aMsgExecuteContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa1\x01\n\x12MsgMigrateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17wasm/MsgMigrateContract\"*\n\x1aMsgMigrateContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"j\n\x0eMsgUpdateAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:#\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13wasm/MsgUpdateAdmin\"\x18\n\x16MsgUpdateAdminResponse\"U\n\rMsgClearAdmin\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x03 \x01(\t:\"\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x12wasm/MsgClearAdmin\"\x17\n\x15MsgClearAdminResponse\"\xbe\x01\n\x1aMsgUpdateInstantiateConfig\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x42\n\x1anew_instantiate_permission\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig:/\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1fwasm/MsgUpdateInstantiateConfig\"$\n\"MsgUpdateInstantiateConfigResponse\"\x9c\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x33\n\x06params\x18\x02 \x01(\x0b\x32\x18.cosmwasm.wasm.v1.ParamsB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\x9e\x01\n\x0fMsgSudoContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage:\'\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x14wasm/MsgSudoContract\"\'\n\x17MsgSudoContractResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x91\x01\n\x0bMsgPinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":#\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x10wasm/MsgPinCodes\"\x15\n\x13MsgPinCodesResponse\"\x95\x01\n\rMsgUnpinCodes\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x08\x63ode_ids\x18\x02 \x03(\x04\x42\x1e\xe2\xde\x1f\x07\x43odeIDs\xf2\xde\x1f\x0fyaml:\"code_ids\":%\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x12wasm/MsgUnpinCodes\"\x17\n\x15MsgUnpinCodesResponse\"\xdb\x03\n\x1eMsgStoreAndInstantiateContract\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12(\n\x0ewasm_byte_code\x18\x03 \x01(\x0c\x42\x10\xe2\xde\x1f\x0cWASMByteCode\x12>\n\x16instantiate_permission\x18\x04 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x12\n\nunpin_code\x18\x05 \x01(\x08\x12\r\n\x05\x61\x64min\x18\x06 \x01(\t\x12\r\n\x05label\x18\x07 \x01(\t\x12#\n\x03msg\x18\x08 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12_\n\x05\x66unds\x18\t \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB5\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\xa8\xe7\xb0*\x01\x12\x0e\n\x06source\x18\n \x01(\t\x12\x0f\n\x07\x62uilder\x18\x0b \x01(\t\x12\x11\n\tcode_hash\x18\x0c \x01(\x0c:6\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*#wasm/MsgStoreAndInstantiateContract\"G\n&MsgStoreAndInstantiateContractResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x32\xb5\n\n\x03Msg\x12S\n\tStoreCode\x12\x1e.cosmwasm.wasm.v1.MsgStoreCode\x1a&.cosmwasm.wasm.v1.MsgStoreCodeResponse\x12q\n\x13InstantiateContract\x12(.cosmwasm.wasm.v1.MsgInstantiateContract\x1a\x30.cosmwasm.wasm.v1.MsgInstantiateContractResponse\x12t\n\x14InstantiateContract2\x12).cosmwasm.wasm.v1.MsgInstantiateContract2\x1a\x31.cosmwasm.wasm.v1.MsgInstantiateContract2Response\x12\x65\n\x0f\x45xecuteContract\x12$.cosmwasm.wasm.v1.MsgExecuteContract\x1a,.cosmwasm.wasm.v1.MsgExecuteContractResponse\x12\x65\n\x0fMigrateContract\x12$.cosmwasm.wasm.v1.MsgMigrateContract\x1a,.cosmwasm.wasm.v1.MsgMigrateContractResponse\x12Y\n\x0bUpdateAdmin\x12 .cosmwasm.wasm.v1.MsgUpdateAdmin\x1a(.cosmwasm.wasm.v1.MsgUpdateAdminResponse\x12V\n\nClearAdmin\x12\x1f.cosmwasm.wasm.v1.MsgClearAdmin\x1a\'.cosmwasm.wasm.v1.MsgClearAdminResponse\x12}\n\x17UpdateInstantiateConfig\x12,.cosmwasm.wasm.v1.MsgUpdateInstantiateConfig\x1a\x34.cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse\x12\\\n\x0cUpdateParams\x12!.cosmwasm.wasm.v1.MsgUpdateParams\x1a).cosmwasm.wasm.v1.MsgUpdateParamsResponse\x12\\\n\x0cSudoContract\x12!.cosmwasm.wasm.v1.MsgSudoContract\x1a).cosmwasm.wasm.v1.MsgSudoContractResponse\x12P\n\x08PinCodes\x12\x1d.cosmwasm.wasm.v1.MsgPinCodes\x1a%.cosmwasm.wasm.v1.MsgPinCodesResponse\x12V\n\nUnpinCodes\x12\x1f.cosmwasm.wasm.v1.MsgUnpinCodes\x1a\'.cosmwasm.wasm.v1.MsgUnpinCodesResponse\x12\x89\x01\n\x1bStoreAndInstantiateContract\x12\x30.cosmwasm.wasm.v1.MsgStoreAndInstantiateContract\x1a\x38.cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponseB,Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,18 +28,12 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z&github.com/CosmWasm/wasmd/x/wasm/types\310\341\036\000' - _MSGSTORECODE.fields_by_name['sender']._options = None - _MSGSTORECODE.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTORECODE.fields_by_name['wasm_byte_code']._options = None _MSGSTORECODE.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' _MSGSTORECODE._options = None _MSGSTORECODE._serialized_options = b'\202\347\260*\006sender\212\347\260*\021wasm/MsgStoreCode' _MSGSTORECODERESPONSE.fields_by_name['code_id']._options = None _MSGSTORECODERESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MSGINSTANTIATECONTRACT.fields_by_name['sender']._options = None - _MSGINSTANTIATECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGINSTANTIATECONTRACT.fields_by_name['admin']._options = None - _MSGINSTANTIATECONTRACT.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT.fields_by_name['msg']._options = None @@ -48,12 +42,6 @@ _MSGINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT._options = None _MSGINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgInstantiateContract' - _MSGINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._options = None - _MSGINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGINSTANTIATECONTRACT2.fields_by_name['sender']._options = None - _MSGINSTANTIATECONTRACT2.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGINSTANTIATECONTRACT2.fields_by_name['admin']._options = None - _MSGINSTANTIATECONTRACT2.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._options = None _MSGINSTANTIATECONTRACT2.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGINSTANTIATECONTRACT2.fields_by_name['msg']._options = None @@ -62,48 +50,22 @@ _MSGINSTANTIATECONTRACT2.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGINSTANTIATECONTRACT2._options = None _MSGINSTANTIATECONTRACT2._serialized_options = b'\202\347\260*\006sender\212\347\260*\034wasm/MsgInstantiateContract2' - _MSGINSTANTIATECONTRACT2RESPONSE.fields_by_name['address']._options = None - _MSGINSTANTIATECONTRACT2RESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGEXECUTECONTRACT.fields_by_name['sender']._options = None - _MSGEXECUTECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGEXECUTECONTRACT.fields_by_name['contract']._options = None - _MSGEXECUTECONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGEXECUTECONTRACT.fields_by_name['msg']._options = None _MSGEXECUTECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGEXECUTECONTRACT.fields_by_name['funds']._options = None _MSGEXECUTECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGEXECUTECONTRACT._options = None _MSGEXECUTECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgExecuteContract' - _MSGMIGRATECONTRACT.fields_by_name['sender']._options = None - _MSGMIGRATECONTRACT.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGMIGRATECONTRACT.fields_by_name['contract']._options = None - _MSGMIGRATECONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGMIGRATECONTRACT.fields_by_name['code_id']._options = None _MSGMIGRATECONTRACT.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGMIGRATECONTRACT.fields_by_name['msg']._options = None _MSGMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGMIGRATECONTRACT._options = None _MSGMIGRATECONTRACT._serialized_options = b'\202\347\260*\006sender\212\347\260*\027wasm/MsgMigrateContract' - _MSGUPDATEADMIN.fields_by_name['sender']._options = None - _MSGUPDATEADMIN.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATEADMIN.fields_by_name['new_admin']._options = None - _MSGUPDATEADMIN.fields_by_name['new_admin']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATEADMIN.fields_by_name['contract']._options = None - _MSGUPDATEADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEADMIN._options = None _MSGUPDATEADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\023wasm/MsgUpdateAdmin' - _MSGCLEARADMIN.fields_by_name['sender']._options = None - _MSGCLEARADMIN.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGCLEARADMIN.fields_by_name['contract']._options = None - _MSGCLEARADMIN.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGCLEARADMIN._options = None _MSGCLEARADMIN._serialized_options = b'\202\347\260*\006sender\212\347\260*\022wasm/MsgClearAdmin' - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._options = None - _ACCESSCONFIGUPDATE.fields_by_name['instantiate_permission']._serialized_options = b'\310\336\037\000\250\347\260*\001' - _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._options = None - _MSGUPDATEINSTANTIATECONFIG.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._options = None _MSGUPDATEINSTANTIATECONFIG.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' _MSGUPDATEINSTANTIATECONFIG._options = None @@ -116,8 +78,6 @@ _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority\212\347\260*\024wasm/MsgUpdateParams' _MSGSUDOCONTRACT.fields_by_name['authority']._options = None _MSGSUDOCONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGSUDOCONTRACT.fields_by_name['contract']._options = None - _MSGSUDOCONTRACT.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSUDOCONTRACT.fields_by_name['msg']._options = None _MSGSUDOCONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSUDOCONTRACT._options = None @@ -138,116 +98,64 @@ _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['admin']._options = None - _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._options = None _MSGSTOREANDINSTANTIATECONTRACT.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\250\347\260*\001' _MSGSTOREANDINSTANTIATECONTRACT._options = None _MSGSTOREANDINSTANTIATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*#wasm/MsgStoreAndInstantiateContract' - _MSGSTOREANDINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._options = None - _MSGSTOREANDINSTANTIATECONTRACTRESPONSE.fields_by_name['address']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None - _MSGADDCODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _MSGADDCODEUPLOADPARAMSADDRESSES._options = None - _MSGADDCODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*$wasm/MsgAddCodeUploadParamsAddresses' - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._options = None - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._options = None - _MSGREMOVECODEUPLOADPARAMSADDRESSES.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' - _MSGREMOVECODEUPLOADPARAMSADDRESSES._options = None - _MSGREMOVECODEUPLOADPARAMSADDRESSES._serialized_options = b'\202\347\260*\tauthority\212\347\260*\'wasm/MsgRemoveCodeUploadParamsAddresses' - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._options = None - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._options = None - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['wasm_byte_code']._serialized_options = b'\342\336\037\014WASMByteCode' - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._options = None - _MSGSTOREANDMIGRATECONTRACT.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' - _MSGSTOREANDMIGRATECONTRACT._options = None - _MSGSTOREANDMIGRATECONTRACT._serialized_options = b'\202\347\260*\tauthority\212\347\260*\037wasm/MsgStoreAndMigrateContract' - _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._options = None - _MSGSTOREANDMIGRATECONTRACTRESPONSE.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._options = None - _MSGUPDATECONTRACTLABEL.fields_by_name['sender']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._options = None - _MSGUPDATECONTRACTLABEL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' - _MSGUPDATECONTRACTLABEL._options = None - _MSGUPDATECONTRACTLABEL._serialized_options = b'\202\347\260*\006sender\212\347\260*\033wasm/MsgUpdateContractLabel' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' _globals['_MSGSTORECODE']._serialized_start=203 - _globals['_MSGSTORECODE']._serialized_end=412 - _globals['_MSGSTORECODERESPONSE']._serialized_start=414 - _globals['_MSGSTORECODERESPONSE']._serialized_end=483 - _globals['_MSGINSTANTIATECONTRACT']._serialized_start=486 - _globals['_MSGINSTANTIATECONTRACT']._serialized_end=816 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=818 - _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=907 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=910 - _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1273 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1275 - _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1365 - _globals['_MSGEXECUTECONTRACT']._serialized_start=1368 - _globals['_MSGEXECUTECONTRACT']._serialized_end=1649 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1651 - _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1693 - _globals['_MSGMIGRATECONTRACT']._serialized_start=1696 - _globals['_MSGMIGRATECONTRACT']._serialized_end=1909 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1911 - _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1953 - _globals['_MSGUPDATEADMIN']._serialized_start=1956 - _globals['_MSGUPDATEADMIN']._serialized_end=2140 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=2142 - _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=2166 - _globals['_MSGCLEARADMIN']._serialized_start=2169 - _globals['_MSGCLEARADMIN']._serialized_end=2306 - _globals['_MSGCLEARADMINRESPONSE']._serialized_start=2308 - _globals['_MSGCLEARADMINRESPONSE']._serialized_end=2331 - _globals['_ACCESSCONFIGUPDATE']._serialized_start=2333 - _globals['_ACCESSCONFIGUPDATE']._serialized_end=2457 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2460 - _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2676 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2678 - _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2714 - _globals['_MSGUPDATEPARAMS']._serialized_start=2717 - _globals['_MSGUPDATEPARAMS']._serialized_end=2873 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2875 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2900 - _globals['_MSGSUDOCONTRACT']._serialized_start=2903 - _globals['_MSGSUDOCONTRACT']._serialized_end=3087 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=3089 - _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3128 - _globals['_MSGPINCODES']._serialized_start=3131 - _globals['_MSGPINCODES']._serialized_end=3276 - _globals['_MSGPINCODESRESPONSE']._serialized_start=3278 - _globals['_MSGPINCODESRESPONSE']._serialized_end=3299 - _globals['_MSGUNPINCODES']._serialized_start=3302 - _globals['_MSGUNPINCODES']._serialized_end=3451 - _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3453 - _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3476 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3479 - _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3980 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3982 - _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=4079 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=4082 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4258 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4260 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4301 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4304 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=4486 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4488 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4532 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=4535 - _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4821 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4823 - _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4920 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4923 - _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=5097 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=5099 - _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5131 - _globals['_MSG']._serialized_start=5134 - _globals['_MSG']._serialized_end=7011 + _globals['_MSGSTORECODE']._serialized_end=386 + _globals['_MSGSTORECODERESPONSE']._serialized_start=388 + _globals['_MSGSTORECODERESPONSE']._serialized_end=457 + _globals['_MSGINSTANTIATECONTRACT']._serialized_start=460 + _globals['_MSGINSTANTIATECONTRACT']._serialized_end=738 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_start=740 + _globals['_MSGINSTANTIATECONTRACTRESPONSE']._serialized_end=803 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_start=806 + _globals['_MSGINSTANTIATECONTRACT2']._serialized_end=1117 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_start=1119 + _globals['_MSGINSTANTIATECONTRACT2RESPONSE']._serialized_end=1183 + _globals['_MSGEXECUTECONTRACT']._serialized_start=1186 + _globals['_MSGEXECUTECONTRACT']._serialized_end=1415 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_start=1417 + _globals['_MSGEXECUTECONTRACTRESPONSE']._serialized_end=1459 + _globals['_MSGMIGRATECONTRACT']._serialized_start=1462 + _globals['_MSGMIGRATECONTRACT']._serialized_end=1623 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_start=1625 + _globals['_MSGMIGRATECONTRACTRESPONSE']._serialized_end=1667 + _globals['_MSGUPDATEADMIN']._serialized_start=1669 + _globals['_MSGUPDATEADMIN']._serialized_end=1775 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_start=1777 + _globals['_MSGUPDATEADMINRESPONSE']._serialized_end=1801 + _globals['_MSGCLEARADMIN']._serialized_start=1803 + _globals['_MSGCLEARADMIN']._serialized_end=1888 + _globals['_MSGCLEARADMINRESPONSE']._serialized_start=1890 + _globals['_MSGCLEARADMINRESPONSE']._serialized_end=1913 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=1916 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2106 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2108 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2144 + _globals['_MSGUPDATEPARAMS']._serialized_start=2147 + _globals['_MSGUPDATEPARAMS']._serialized_end=2303 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2305 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2330 + _globals['_MSGSUDOCONTRACT']._serialized_start=2333 + _globals['_MSGSUDOCONTRACT']._serialized_end=2491 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2493 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=2532 + _globals['_MSGPINCODES']._serialized_start=2535 + _globals['_MSGPINCODES']._serialized_end=2680 + _globals['_MSGPINCODESRESPONSE']._serialized_start=2682 + _globals['_MSGPINCODESRESPONSE']._serialized_end=2703 + _globals['_MSGUNPINCODES']._serialized_start=2706 + _globals['_MSGUNPINCODES']._serialized_end=2855 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=2857 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=2880 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=2883 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3358 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3360 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3431 + _globals['_MSG']._serialized_start=3434 + _globals['_MSG']._serialized_end=4767 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py index c0074e43..ac3b86e9 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -80,26 +80,6 @@ def __init__(self, channel): request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.SerializeToString, response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, ) - self.RemoveCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - ) - self.AddCodeUploadParamsAddresses = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - ) - self.StoreAndMigrateContract = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, - ) - self.UpdateContractLabel = channel.unary_unary( - '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, - ) class MsgServicer(object): @@ -144,7 +124,7 @@ def MigrateContract(self, request, context): raise NotImplementedError('Method not implemented!') def UpdateAdmin(self, request, context): - """UpdateAdmin sets a new admin for a smart contract + """UpdateAdmin sets a new admin for a smart contract """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -214,43 +194,6 @@ def StoreAndInstantiateContract(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def RemoveCodeUploadParamsAddresses(self, request, context): - """RemoveCodeUploadParamsAddresses defines a governance operation for - removing addresses from code upload params. - The authority is defined in the keeper. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddCodeUploadParamsAddresses(self, request, context): - """AddCodeUploadParamsAddresses defines a governance operation for - adding addresses to code upload params. - The authority is defined in the keeper. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StoreAndMigrateContract(self, request, context): - """StoreAndMigrateContract defines a governance operation for storing - and migrating the contract. The authority is defined in the keeper. - - Since: 0.42 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateContractLabel(self, request, context): - """UpdateContractLabel sets a new label for a smart contract - - Since: 0.43 - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -319,26 +262,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContract.FromString, response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.SerializeToString, ), - 'RemoveCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.RemoveCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'AddCodeUploadParamsAddresses': grpc.unary_unary_rpc_method_handler( - servicer.AddCodeUploadParamsAddresses, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.SerializeToString, - ), - 'StoreAndMigrateContract': grpc.unary_unary_rpc_method_handler( - servicer.StoreAndMigrateContract, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.SerializeToString, - ), - 'UpdateContractLabel': grpc.unary_unary_rpc_method_handler( - servicer.UpdateContractLabel, - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.FromString, - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'cosmwasm.wasm.v1.Msg', rpc_method_handlers) @@ -570,71 +493,3 @@ def StoreAndInstantiateContract(request, cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndInstantiateContractResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RemoveCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/RemoveCodeUploadParamsAddresses', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddresses.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgRemoveCodeUploadParamsAddressesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddCodeUploadParamsAddresses(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/AddCodeUploadParamsAddresses', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddresses.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgAddCodeUploadParamsAddressesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StoreAndMigrateContract(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/StoreAndMigrateContract', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContract.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgStoreAndMigrateContractResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateContractLabel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/cosmwasm.wasm.v1.Msg/UpdateContractLabel', - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabel.SerializeToString, - cosmwasm_dot_wasm_dot_v1_dot_tx__pb2.MsgUpdateContractLabelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py index e726472e..3c1ecf7c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -15,9 +15,10 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from amino import amino_pb2 as amino_dot_amino__pb2 +from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\x90\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12+\n\taddresses\x18\x03 \x03(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:\x04\x98\xa0\x1f\x01J\x04\x08\x02\x10\x03\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x9b\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\xc4\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12)\n\x07\x63reator\x18\x02 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c*\xf6\x01\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00\"\x04\x08\x02\x10\x02*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmwasm/wasm/v1/types.proto\x12\x10\x63osmwasm.wasm.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"V\n\x0f\x41\x63\x63\x65ssTypeParam\x12=\n\x05value\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x10\xf2\xde\x1f\x0cyaml:\"value\":\x04\x98\xa0\x1f\x01\"\xab\x01\n\x0c\x41\x63\x63\x65ssConfig\x12G\n\npermission\x18\x01 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB\x15\xf2\xde\x1f\x11yaml:\"permission\"\x12#\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"address\"\x12\'\n\taddresses\x18\x03 \x03(\tB\x14\xf2\xde\x1f\x10yaml:\"addresses\":\x04\x98\xa0\x1f\x01\"\xe3\x01\n\x06Params\x12\x62\n\x12\x63ode_upload_access\x18\x01 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB&\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"code_upload_access\"\xa8\xe7\xb0*\x01\x12o\n\x1einstantiate_default_permission\x18\x02 \x01(\x0e\x32\x1c.cosmwasm.wasm.v1.AccessTypeB)\xf2\xde\x1f%yaml:\"instantiate_default_permission\":\x04\x98\xa0\x1f\x00\"\x81\x01\n\x08\x43odeInfo\x12\x11\n\tcode_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x45\n\x12instantiate_config\x18\x05 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfigB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x90\x02\n\x0c\x43ontractInfo\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\r\n\x05\x61\x64min\x18\x03 \x01(\t\x12\r\n\x05label\x18\x04 \x01(\t\x12\x35\n\x07\x63reated\x18\x05 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12\"\n\x0bibc_port_id\x18\x06 \x01(\tB\r\xe2\xde\x1f\tIBCPortID\x12S\n\textension\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyB*\xca\xb4-&cosmwasm.wasm.v1.ContractInfoExtension:\x04\xe8\xa0\x1f\x01\"\xda\x01\n\x18\x43ontractCodeHistoryEntry\x12\x45\n\toperation\x18\x01 \x01(\x0e\x32\x32.cosmwasm.wasm.v1.ContractCodeHistoryOperationType\x12\x1b\n\x07\x63ode_id\x18\x02 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x35\n\x07updated\x18\x03 \x01(\x0b\x32$.cosmwasm.wasm.v1.AbsoluteTxPosition\x12#\n\x03msg\x18\x04 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"<\n\x12\x41\x62soluteTxPosition\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x10\n\x08tx_index\x18\x02 \x01(\x04\"Y\n\x05Model\x12\x41\n\x03key\x18\x01 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x88\x01\n\x0f\x45ventCodeStored\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x0f\n\x07\x63reator\x18\x02 \x01(\t\x12\x35\n\raccess_config\x18\x03 \x01(\x0b\x32\x1e.cosmwasm.wasm.v1.AccessConfig\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\x0c\"\x82\x02\n\x19\x45ventContractInstantiated\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\r\n\x05\x61\x64min\x18\x02 \x01(\t\x12\x1b\n\x07\x63ode_id\x18\x03 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12Z\n\x05\x66unds\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12#\n\x03msg\x18\x05 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\x12\r\n\x05label\x18\x06 \x01(\t\x12\x0f\n\x07\x63reator\x18\x07 \x01(\t\"s\n\x15\x45ventContractMigrated\x12\x1b\n\x07\x63ode_id\x18\x01 \x01(\x04\x42\n\xe2\xde\x1f\x06\x43odeID\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12#\n\x03msg\x18\x03 \x01(\x0c\x42\x16\xfa\xde\x1f\x12RawContractMessage\"D\n\x15\x45ventContractAdminSet\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tnew_admin\x18\x02 \x01(\t*\xa9\x02\n\nAccessType\x12\x36\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeUnspecified\x12,\n\x12\x41\x43\x43\x45SS_TYPE_NOBODY\x10\x01\x1a\x14\x8a\x9d \x10\x41\x63\x63\x65ssTypeNobody\x12\x37\n\x18\x41\x43\x43\x45SS_TYPE_ONLY_ADDRESS\x10\x02\x1a\x19\x8a\x9d \x15\x41\x63\x63\x65ssTypeOnlyAddress\x12\x32\n\x15\x41\x43\x43\x45SS_TYPE_EVERYBODY\x10\x03\x1a\x17\x8a\x9d \x13\x41\x63\x63\x65ssTypeEverybody\x12>\n\x1c\x41\x43\x43\x45SS_TYPE_ANY_OF_ADDRESSES\x10\x04\x1a\x1c\x8a\x9d \x18\x41\x63\x63\x65ssTypeAnyOfAddresses\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x00*\xa6\x03\n ContractCodeHistoryOperationType\x12\x65\n0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED\x10\x00\x1a/\x8a\x9d +ContractCodeHistoryOperationTypeUnspecified\x12W\n)CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT\x10\x01\x1a(\x8a\x9d $ContractCodeHistoryOperationTypeInit\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE\x10\x02\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeMigrate\x12]\n,CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS\x10\x03\x1a+\x8a\x9d \'ContractCodeHistoryOperationTypeGenesis\x1a\x04\x88\xa3\x1e\x00\x42\x30Z&github.com/CosmWasm/wasmd/x/wasm/types\xc8\xe1\x1e\x00\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,6 +33,8 @@ _ACCESSTYPE.values_by_name["ACCESS_TYPE_UNSPECIFIED"]._serialized_options = b'\212\235 \025AccessTypeUnspecified' _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_NOBODY"]._serialized_options = b'\212\235 \020AccessTypeNobody' + _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._options = None + _ACCESSTYPE.values_by_name["ACCESS_TYPE_ONLY_ADDRESS"]._serialized_options = b'\212\235 \025AccessTypeOnlyAddress' _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._options = None _ACCESSTYPE.values_by_name["ACCESS_TYPE_EVERYBODY"]._serialized_options = b'\212\235 \023AccessTypeEverybody' _ACCESSTYPE.values_by_name["ACCESS_TYPE_ANY_OF_ADDRESSES"]._options = None @@ -52,8 +55,10 @@ _ACCESSTYPEPARAM._serialized_options = b'\230\240\037\001' _ACCESSCONFIG.fields_by_name['permission']._options = None _ACCESSCONFIG.fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' + _ACCESSCONFIG.fields_by_name['address']._options = None + _ACCESSCONFIG.fields_by_name['address']._serialized_options = b'\362\336\037\016yaml:\"address\"' _ACCESSCONFIG.fields_by_name['addresses']._options = None - _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' + _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' _ACCESSCONFIG._options = None _ACCESSCONFIG._serialized_options = b'\230\240\037\001' _PARAMS.fields_by_name['code_upload_access']._options = None @@ -62,16 +67,10 @@ _PARAMS.fields_by_name['instantiate_default_permission']._serialized_options = b'\362\336\037%yaml:\"instantiate_default_permission\"' _PARAMS._options = None _PARAMS._serialized_options = b'\230\240\037\000' - _CODEINFO.fields_by_name['creator']._options = None - _CODEINFO.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' _CODEINFO.fields_by_name['instantiate_config']._options = None _CODEINFO.fields_by_name['instantiate_config']._serialized_options = b'\310\336\037\000\250\347\260*\001' _CONTRACTINFO.fields_by_name['code_id']._options = None _CONTRACTINFO.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' - _CONTRACTINFO.fields_by_name['creator']._options = None - _CONTRACTINFO.fields_by_name['creator']._serialized_options = b'\322\264-\024cosmos.AddressString' - _CONTRACTINFO.fields_by_name['admin']._options = None - _CONTRACTINFO.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _CONTRACTINFO.fields_by_name['ibc_port_id']._options = None _CONTRACTINFO.fields_by_name['ibc_port_id']._serialized_options = b'\342\336\037\tIBCPortID' _CONTRACTINFO.fields_by_name['extension']._options = None @@ -84,24 +83,44 @@ _CONTRACTCODEHISTORYENTRY.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' _MODEL.fields_by_name['key']._options = None _MODEL.fields_by_name['key']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' - _globals['_ACCESSTYPE']._serialized_start=1470 - _globals['_ACCESSTYPE']._serialized_end=1716 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=1719 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2141 - _globals['_ACCESSTYPEPARAM']._serialized_start=145 - _globals['_ACCESSTYPEPARAM']._serialized_end=231 - _globals['_ACCESSCONFIG']._serialized_start=234 - _globals['_ACCESSCONFIG']._serialized_end=378 - _globals['_PARAMS']._serialized_start=381 - _globals['_PARAMS']._serialized_end=608 - _globals['_CODEINFO']._serialized_start=611 - _globals['_CODEINFO']._serialized_end=766 - _globals['_CONTRACTINFO']._serialized_start=769 - _globals['_CONTRACTINFO']._serialized_end=1093 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1096 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1314 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1316 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1376 - _globals['_MODEL']._serialized_start=1378 - _globals['_MODEL']._serialized_end=1467 + _EVENTCODESTORED.fields_by_name['code_id']._options = None + _EVENTCODESTORED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _EVENTCONTRACTINSTANTIATED.fields_by_name['code_id']._options = None + _EVENTCONTRACTINSTANTIATED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _EVENTCONTRACTINSTANTIATED.fields_by_name['funds']._options = None + _EVENTCONTRACTINSTANTIATED.fields_by_name['funds']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _EVENTCONTRACTINSTANTIATED.fields_by_name['msg']._options = None + _EVENTCONTRACTINSTANTIATED.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _EVENTCONTRACTMIGRATED.fields_by_name['code_id']._options = None + _EVENTCONTRACTMIGRATED.fields_by_name['code_id']._serialized_options = b'\342\336\037\006CodeID' + _EVENTCONTRACTMIGRATED.fields_by_name['msg']._options = None + _EVENTCONTRACTMIGRATED.fields_by_name['msg']._serialized_options = b'\372\336\037\022RawContractMessage' + _globals['_ACCESSTYPE']._serialized_start=2038 + _globals['_ACCESSTYPE']._serialized_end=2335 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=2338 + _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2760 + _globals['_ACCESSTYPEPARAM']._serialized_start=177 + _globals['_ACCESSTYPEPARAM']._serialized_end=263 + _globals['_ACCESSCONFIG']._serialized_start=266 + _globals['_ACCESSCONFIG']._serialized_end=437 + _globals['_PARAMS']._serialized_start=440 + _globals['_PARAMS']._serialized_end=667 + _globals['_CODEINFO']._serialized_start=670 + _globals['_CODEINFO']._serialized_end=799 + _globals['_CONTRACTINFO']._serialized_start=802 + _globals['_CONTRACTINFO']._serialized_end=1074 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1077 + _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1295 + _globals['_ABSOLUTETXPOSITION']._serialized_start=1297 + _globals['_ABSOLUTETXPOSITION']._serialized_end=1357 + _globals['_MODEL']._serialized_start=1359 + _globals['_MODEL']._serialized_end=1448 + _globals['_EVENTCODESTORED']._serialized_start=1451 + _globals['_EVENTCODESTORED']._serialized_end=1587 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_start=1590 + _globals['_EVENTCONTRACTINSTANTIATED']._serialized_end=1848 + _globals['_EVENTCONTRACTMIGRATED']._serialized_start=1850 + _globals['_EVENTCONTRACTMIGRATED']._serialized_end=1965 + _globals['_EVENTCONTRACTADMINSET']._serialized_start=1967 + _globals['_EVENTCONTRACTADMINSET']._serialized_end=2035 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py index a7f891f5..97e83397 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/ack_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\"{\n\x1bIncentivizedAcknowledgement\x12\x1b\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0c\x12\x1f\n\x17\x66orward_relayer_address\x18\x02 \x01(\t\x12\x1e\n\x16underlying_app_success\x18\x03 \x01(\x08\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/ack.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\"\xe3\x01\n\x1bIncentivizedAcknowledgement\x12;\n\x13\x61pp_acknowledgement\x18\x01 \x01(\x0c\x42\x1e\xf2\xde\x1f\x1ayaml:\"app_acknowledgement\"\x12\x43\n\x17\x66orward_relayer_address\x18\x02 \x01(\tB\"\xf2\xde\x1f\x1eyaml:\"forward_relayer_address\"\x12\x42\n\x16underlying_app_success\x18\x03 \x01(\x08\x42\"\xf2\xde\x1f\x1eyaml:\"underlying_app_successl\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' - _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=62 - _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=185 + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['app_acknowledgement']._options = None + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['app_acknowledgement']._serialized_options = b'\362\336\037\032yaml:\"app_acknowledgement\"' + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['forward_relayer_address']._options = None + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['forward_relayer_address']._serialized_options = b'\362\336\037\036yaml:\"forward_relayer_address\"' + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['underlying_app_success']._options = None + _INCENTIVIZEDACKNOWLEDGEMENT.fields_by_name['underlying_app_success']._serialized_options = b'\362\336\037\036yaml:\"underlying_app_successl\"' + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_start=85 + _globals['_INCENTIVIZEDACKNOWLEDGEMENT']._serialized_end=312 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py index 0ebc93b5..60f32854 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -11,14 +11,12 @@ _sym_db = _symbol_database.Default() -from amino import amino_pb2 as amino_dot_amino__pb2 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 ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xd7\x02\n\x03\x46\x65\x65\x12n\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\x12m\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\x12q\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBA\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x9a\xe7\xb0*\x0clegacy_coins\"{\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x16\n\x0erefund_address\x18\x02 \x01(\t\x12\x10\n\x08relayers\x18\x03 \x03(\t:\x13\x82\xe7\xb0*\x0erefund_address\"K\n\nPacketFees\x12=\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x14IdentifiedPacketFees\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12=\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/applications/fee/v1/fee.proto\x12\x17ibc.applications.fee.v1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xdf\x02\n\x03\x46\x65\x65\x12p\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBC\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"recv_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12n\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBB\xc8\xde\x1f\x00\xf2\xde\x1f\x0eyaml:\"ack_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12v\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBF\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"timeout_fee\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\x81\x01\n\tPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x31\n\x0erefund_address\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"refund_address\"\x12\x10\n\x08relayers\x18\x03 \x03(\t\"a\n\nPacketFees\x12S\n\x0bpacket_fees\x18\x01 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"packet_fees\"\"\xb7\x01\n\x14IdentifiedPacketFees\x12J\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x18\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"packet_id\"\x12S\n\x0bpacket_fees\x18\x02 \x03(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"packet_fees\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,29 +24,29 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _FEE.fields_by_name['recv_fee']._options = None - _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' + _FEE.fields_by_name['recv_fee']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"recv_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _FEE.fields_by_name['ack_fee']._options = None - _FEE.fields_by_name['ack_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' + _FEE.fields_by_name['ack_fee']._serialized_options = b'\310\336\037\000\362\336\037\016yaml:\"ack_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _FEE.fields_by_name['timeout_fee']._options = None - _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins\232\347\260*\014legacy_coins' + _FEE.fields_by_name['timeout_fee']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"timeout_fee\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _PACKETFEE.fields_by_name['fee']._options = None _PACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' - _PACKETFEE._options = None - _PACKETFEE._serialized_options = b'\202\347\260*\016refund_address' + _PACKETFEE.fields_by_name['refund_address']._options = None + _PACKETFEE.fields_by_name['refund_address']._serialized_options = b'\362\336\037\025yaml:\"refund_address\"' _PACKETFEES.fields_by_name['packet_fees']._options = None - _PACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' + _PACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"packet_fees\"' _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._options = None - _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"packet_id\"' _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._options = None - _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000' - _globals['_FEE']._serialized_start=196 - _globals['_FEE']._serialized_end=539 - _globals['_PACKETFEE']._serialized_start=541 - _globals['_PACKETFEE']._serialized_end=664 - _globals['_PACKETFEES']._serialized_start=666 - _globals['_PACKETFEES']._serialized_end=741 - _globals['_IDENTIFIEDPACKETFEES']._serialized_start=744 - _globals['_IDENTIFIEDPACKETFEES']._serialized_end=885 + _IDENTIFIEDPACKETFEES.fields_by_name['packet_fees']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"packet_fees\"' + _globals['_FEE']._serialized_start=152 + _globals['_FEE']._serialized_end=503 + _globals['_PACKETFEE']._serialized_start=506 + _globals['_PACKETFEE']._serialized_end=635 + _globals['_PACKETFEES']._serialized_start=637 + _globals['_PACKETFEES']._serialized_end=734 + _globals['_IDENTIFIEDPACKETFEES']._serialized_start=737 + _globals['_IDENTIFIEDPACKETFEES']._serialized_end=920 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py index 410e05a0..a38041c4 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/genesis_pb2.py @@ -16,7 +16,7 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\xab\x03\n\x0cGenesisState\x12L\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12I\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB\x04\xc8\xde\x1f\x00\x12\x62\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB\x04\xc8\xde\x1f\x00\x12N\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x04\xc8\xde\x1f\x00\"8\n\x11\x46\x65\x65\x45nabledChannel\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"E\n\x0fRegisteredPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\r\n\x05payee\x18\x03 \x01(\t\"^\n\x1bRegisteredCounterpartyPayee\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x03 \x01(\t\"`\n\x15\x46orwardRelayerAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x36\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/fee/v1/genesis.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\xc5\x04\n\x0cGenesisState\x12\x66\n\x0fidentified_fees\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"identified_fees\"\x12m\n\x14\x66\x65\x65_enabled_channels\x18\x02 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB#\xc8\xde\x1f\x00\xf2\xde\x1f\x1byaml:\"fee_enabled_channels\"\x12\x65\n\x11registered_payees\x18\x03 \x03(\x0b\x32(.ibc.applications.fee.v1.RegisteredPayeeB \xc8\xde\x1f\x00\xf2\xde\x1f\x18yaml:\"registered_payees\"\x12\x8b\x01\n\x1eregistered_counterparty_payees\x18\x04 \x03(\x0b\x32\x34.ibc.applications.fee.v1.RegisteredCounterpartyPayeeB-\xc8\xde\x1f\x00\xf2\xde\x1f%yaml:\"registered_counterparty_payees\"\x12i\n\x10\x66orward_relayers\x18\x05 \x03(\x0b\x32..ibc.applications.fee.v1.ForwardRelayerAddressB\x1f\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"forward_relayers\"\"c\n\x11\x46\x65\x65\x45nabledChannel\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\"\\\n\x0fRegisteredPayee\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\r\n\x05payee\x18\x03 \x01(\t\"\x94\x01\n\x1bRegisteredCounterpartyPayee\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\x12\x39\n\x12\x63ounterparty_payee\x18\x03 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"counterparty_payee\"\"t\n\x15\x46orwardRelayerAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12J\n\tpacket_id\x18\x02 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x18\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"packet_id\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,27 +24,37 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _GENESISSTATE.fields_by_name['identified_fees']._options = None - _GENESISSTATE.fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['identified_fees']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"identified_fees\"' _GENESISSTATE.fields_by_name['fee_enabled_channels']._options = None - _GENESISSTATE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000\362\336\037\033yaml:\"fee_enabled_channels\"' _GENESISSTATE.fields_by_name['registered_payees']._options = None - _GENESISSTATE.fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_payees']._serialized_options = b'\310\336\037\000\362\336\037\030yaml:\"registered_payees\"' _GENESISSTATE.fields_by_name['registered_counterparty_payees']._options = None - _GENESISSTATE.fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_counterparty_payees']._serialized_options = b'\310\336\037\000\362\336\037%yaml:\"registered_counterparty_payees\"' _GENESISSTATE.fields_by_name['forward_relayers']._options = None - _GENESISSTATE.fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['forward_relayers']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"forward_relayers\"' + _FEEENABLEDCHANNEL.fields_by_name['port_id']._options = None + _FEEENABLEDCHANNEL.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _FEEENABLEDCHANNEL.fields_by_name['channel_id']._options = None + _FEEENABLEDCHANNEL.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _REGISTEREDPAYEE.fields_by_name['channel_id']._options = None + _REGISTEREDPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['channel_id']._options = None + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._options = None + _REGISTEREDCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._serialized_options = b'\362\336\037\031yaml:\"counterparty_payee\"' _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._options = None - _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' + _FORWARDRELAYERADDRESS.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"packet_id\"' _globals['_GENESISSTATE']._serialized_start=159 - _globals['_GENESISSTATE']._serialized_end=586 - _globals['_FEEENABLEDCHANNEL']._serialized_start=588 - _globals['_FEEENABLEDCHANNEL']._serialized_end=644 - _globals['_REGISTEREDPAYEE']._serialized_start=646 - _globals['_REGISTEREDPAYEE']._serialized_end=715 - _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=717 - _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=811 - _globals['_FORWARDRELAYERADDRESS']._serialized_start=813 - _globals['_FORWARDRELAYERADDRESS']._serialized_end=909 + _globals['_GENESISSTATE']._serialized_end=740 + _globals['_FEEENABLEDCHANNEL']._serialized_start=742 + _globals['_FEEENABLEDCHANNEL']._serialized_end=841 + _globals['_REGISTEREDPAYEE']._serialized_start=843 + _globals['_REGISTEREDPAYEE']._serialized_end=935 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_start=938 + _globals['_REGISTEREDCOUNTERPARTYPAYEE']._serialized_end=1086 + _globals['_FORWARDRELAYERADDRESS']._serialized_start=1088 + _globals['_FORWARDRELAYERADDRESS']._serialized_end=1204 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py index de02ff7f..f9e450eb 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/metadata_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\"4\n\x08Metadata\x12\x13\n\x0b\x66\x65\x65_version\x18\x01 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x02 \x01(\tB7Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&ibc/applications/fee/v1/metadata.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\"d\n\x08Metadata\x12+\n\x0b\x66\x65\x65_version\x18\x01 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"fee_version\"\x12+\n\x0b\x61pp_version\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"app_version\"B7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' - _globals['_METADATA']._serialized_start=67 - _globals['_METADATA']._serialized_end=119 + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + _METADATA.fields_by_name['fee_version']._options = None + _METADATA.fields_by_name['fee_version']._serialized_options = b'\362\336\037\022yaml:\"fee_version\"' + _METADATA.fields_by_name['app_version']._options = None + _METADATA.fields_by_name['app_version']._serialized_options = b'\362\336\037\022yaml:\"app_version\"' + _globals['_METADATA']._serialized_start=89 + _globals['_METADATA']._serialized_end=189 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py index b8b5b67b..56c2416d 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/query_pb2.py @@ -20,7 +20,7 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"s\n\x1fQueryIncentivizedPacketsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xb2\x01\n QueryIncentivizedPacketsResponse\x12Q\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"n\n\x1eQueryIncentivizedPacketRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"s\n\x1fQueryIncentivizedPacketResponse\x12P\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"\xa2\x01\n)QueryIncentivizedPacketsForChannelRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x14\n\x0cquery_height\x18\x04 \x01(\x04\"\xb6\x01\n*QueryIncentivizedPacketsForChannelResponse\x12K\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFees\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"S\n\x19QueryTotalRecvFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"|\n\x1aQueryTotalRecvFeesResponse\x12^\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"R\n\x18QueryTotalAckFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"z\n\x19QueryTotalAckFeesResponse\x12]\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"V\n\x1cQueryTotalTimeoutFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x82\x01\n\x1dQueryTotalTimeoutFeesResponse\x12\x61\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"8\n\x11QueryPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"+\n\x12QueryPayeeResponse\x12\x15\n\rpayee_address\x18\x01 \x01(\t\"D\n\x1dQueryCounterpartyPayeeRequest\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"<\n\x1eQueryCounterpartyPayeeResponse\x12\x1a\n\x12\x63ounterparty_payee\x18\x01 \x01(\t\"r\n\x1eQueryFeeEnabledChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\xae\x01\n\x1fQueryFeeEnabledChannelsResponse\x12N\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"D\n\x1dQueryFeeEnabledChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"5\n\x1eQueryFeeEnabledChannelResponse\x12\x13\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08\x32\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB7Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#ibc/applications/fee/v1/query.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a%ibc/applications/fee/v1/genesis.proto\x1a!ibc/core/channel/v1/channel.proto\"s\n\x1fQueryIncentivizedPacketsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"u\n QueryIncentivizedPacketsResponse\x12Q\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"n\n\x1eQueryIncentivizedPacketRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"s\n\x1fQueryIncentivizedPacketResponse\x12P\n\x13incentivized_packet\x18\x01 \x01(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFeesB\x04\xc8\xde\x1f\x00\"\xa2\x01\n)QueryIncentivizedPacketsForChannelRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x14\n\x0cquery_height\x18\x04 \x01(\x04\"y\n*QueryIncentivizedPacketsForChannelResponse\x12K\n\x14incentivized_packets\x18\x01 \x03(\x0b\x32-.ibc.applications.fee.v1.IdentifiedPacketFees\"S\n\x19QueryTotalRecvFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x90\x01\n\x1aQueryTotalRecvFeesResponse\x12r\n\trecv_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBD\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"recv_fees\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"R\n\x18QueryTotalAckFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x8d\x01\n\x19QueryTotalAckFeesResponse\x12p\n\x08\x61\x63k_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBC\xc8\xde\x1f\x00\xf2\xde\x1f\x0fyaml:\"ack_fees\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"V\n\x1cQueryTotalTimeoutFeesRequest\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\"\x99\x01\n\x1dQueryTotalTimeoutFeesResponse\x12x\n\x0ctimeout_fees\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBG\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"timeout_fees\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"O\n\x11QueryPayeeRequest\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"E\n\x12QueryPayeeResponse\x12/\n\rpayee_address\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"payee_address\"\"[\n\x1dQueryCounterpartyPayeeRequest\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x02 \x01(\t\"[\n\x1eQueryCounterpartyPayeeResponse\x12\x39\n\x12\x63ounterparty_payee\x18\x01 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"counterparty_payee\"\"r\n\x1eQueryFeeEnabledChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12\x14\n\x0cquery_height\x18\x02 \x01(\x04\"\x90\x01\n\x1fQueryFeeEnabledChannelsResponse\x12m\n\x14\x66\x65\x65_enabled_channels\x18\x01 \x03(\x0b\x32*.ibc.applications.fee.v1.FeeEnabledChannelB#\xc8\xde\x1f\x00\xf2\xde\x1f\x1byaml:\"fee_enabled_channels\"\"o\n\x1dQueryFeeEnabledChannelRequest\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\"M\n\x1eQueryFeeEnabledChannelResponse\x12+\n\x0b\x66\x65\x65_enabled\x18\x01 \x01(\x08\x42\x16\xf2\xde\x1f\x12yaml:\"fee_enabled\"2\xe6\x11\n\x05Query\x12\xb9\x01\n\x13IncentivizedPackets\x12\x38.ibc.applications.fee.v1.QueryIncentivizedPacketsRequest\x1a\x39.ibc.applications.fee.v1.QueryIncentivizedPacketsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/ibc/apps/fee/v1/incentivized_packets\x12\x8f\x02\n\x12IncentivizedPacket\x12\x37.ibc.applications.fee.v1.QueryIncentivizedPacketRequest\x1a\x38.ibc.applications.fee.v1.QueryIncentivizedPacketResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12}/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet\x12\xfd\x01\n\x1dIncentivizedPacketsForChannel\x12\x42.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest\x1a\x43.ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse\"S\x82\xd3\xe4\x93\x02M\x12K/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets\x12\xfc\x01\n\rTotalRecvFees\x12\x32.ibc.applications.fee.v1.QueryTotalRecvFeesRequest\x1a\x33.ibc.applications.fee.v1.QueryTotalRecvFeesResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees\x12\xf8\x01\n\x0cTotalAckFees\x12\x31.ibc.applications.fee.v1.QueryTotalAckFeesRequest\x1a\x32.ibc.applications.fee.v1.QueryTotalAckFeesResponse\"\x80\x01\x82\xd3\xe4\x93\x02z\x12x/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees\x12\x88\x02\n\x10TotalTimeoutFees\x12\x35.ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest\x1a\x36.ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse\"\x84\x01\x82\xd3\xe4\x93\x02~\x12|/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees\x12\xa9\x01\n\x05Payee\x12*.ibc.applications.fee.v1.QueryPayeeRequest\x1a+.ibc.applications.fee.v1.QueryPayeeResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee\x12\xda\x01\n\x11\x43ounterpartyPayee\x12\x36.ibc.applications.fee.v1.QueryCounterpartyPayeeRequest\x1a\x37.ibc.applications.fee.v1.QueryCounterpartyPayeeResponse\"T\x82\xd3\xe4\x93\x02N\x12L/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee\x12\xad\x01\n\x12\x46\x65\x65\x45nabledChannels\x12\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest\x1a\x38.ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/fee/v1/fee_enabled\x12\xd0\x01\n\x11\x46\x65\x65\x45nabledChannel\x12\x36.ibc.applications.fee.v1.QueryFeeEnabledChannelRequest\x1a\x37.ibc.applications.fee.v1.QueryFeeEnabledChannelResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabledB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,7 +28,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._options = None _QUERYINCENTIVIZEDPACKETSRESPONSE.fields_by_name['incentivized_packets']._serialized_options = b'\310\336\037\000' _QUERYINCENTIVIZEDPACKETREQUEST.fields_by_name['packet_id']._options = None @@ -38,17 +38,31 @@ _QUERYTOTALRECVFEESREQUEST.fields_by_name['packet_id']._options = None _QUERYTOTALRECVFEESREQUEST.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _QUERYTOTALRECVFEESRESPONSE.fields_by_name['recv_fees']._options = None - _QUERYTOTALRECVFEESRESPONSE.fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALRECVFEESRESPONSE.fields_by_name['recv_fees']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"recv_fees\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _QUERYTOTALACKFEESREQUEST.fields_by_name['packet_id']._options = None _QUERYTOTALACKFEESREQUEST.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _QUERYTOTALACKFEESRESPONSE.fields_by_name['ack_fees']._options = None - _QUERYTOTALACKFEESRESPONSE.fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALACKFEESRESPONSE.fields_by_name['ack_fees']._serialized_options = b'\310\336\037\000\362\336\037\017yaml:\"ack_fees\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _QUERYTOTALTIMEOUTFEESREQUEST.fields_by_name['packet_id']._options = None _QUERYTOTALTIMEOUTFEESREQUEST.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _QUERYTOTALTIMEOUTFEESRESPONSE.fields_by_name['timeout_fees']._options = None - _QUERYTOTALTIMEOUTFEESRESPONSE.fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYTOTALTIMEOUTFEESRESPONSE.fields_by_name['timeout_fees']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"timeout_fees\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _QUERYPAYEEREQUEST.fields_by_name['channel_id']._options = None + _QUERYPAYEEREQUEST.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _QUERYPAYEERESPONSE.fields_by_name['payee_address']._options = None + _QUERYPAYEERESPONSE.fields_by_name['payee_address']._serialized_options = b'\362\336\037\024yaml:\"payee_address\"' + _QUERYCOUNTERPARTYPAYEEREQUEST.fields_by_name['channel_id']._options = None + _QUERYCOUNTERPARTYPAYEEREQUEST.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _QUERYCOUNTERPARTYPAYEERESPONSE.fields_by_name['counterparty_payee']._options = None + _QUERYCOUNTERPARTYPAYEERESPONSE.fields_by_name['counterparty_payee']._serialized_options = b'\362\336\037\031yaml:\"counterparty_payee\"' _QUERYFEEENABLEDCHANNELSRESPONSE.fields_by_name['fee_enabled_channels']._options = None - _QUERYFEEENABLEDCHANNELSRESPONSE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000' + _QUERYFEEENABLEDCHANNELSRESPONSE.fields_by_name['fee_enabled_channels']._serialized_options = b'\310\336\037\000\362\336\037\033yaml:\"fee_enabled_channels\"' + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['port_id']._options = None + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['channel_id']._options = None + _QUERYFEEENABLEDCHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _QUERYFEEENABLEDCHANNELRESPONSE.fields_by_name['fee_enabled']._options = None + _QUERYFEEENABLEDCHANNELRESPONSE.fields_by_name['fee_enabled']._serialized_options = b'\362\336\037\022yaml:\"fee_enabled\"' _QUERY.methods_by_name['IncentivizedPackets']._options = None _QUERY.methods_by_name['IncentivizedPackets']._serialized_options = b'\202\323\344\223\002\'\022%/ibc/apps/fee/v1/incentivized_packets' _QUERY.methods_by_name['IncentivizedPacket']._options = None @@ -71,44 +85,44 @@ _QUERY.methods_by_name['FeeEnabledChannel']._serialized_options = b'\202\323\344\223\002D\022B/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled' _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_start=301 _globals['_QUERYINCENTIVIZEDPACKETSREQUEST']._serialized_end=416 - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=419 - _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=597 - _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=599 - _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=709 - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=711 - _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=826 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=829 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=991 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=994 - _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1176 - _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1178 - _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1261 - _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1263 - _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1387 - _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1389 - _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1471 - _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1473 - _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1595 - _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1597 - _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1683 - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1686 - _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=1816 - _globals['_QUERYPAYEEREQUEST']._serialized_start=1818 - _globals['_QUERYPAYEEREQUEST']._serialized_end=1874 - _globals['_QUERYPAYEERESPONSE']._serialized_start=1876 - _globals['_QUERYPAYEERESPONSE']._serialized_end=1919 - _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=1921 - _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=1989 - _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=1991 - _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2051 - _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2053 - _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2167 - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2170 - _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2344 - _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2346 - _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2414 - _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2416 - _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2469 - _globals['_QUERY']._serialized_start=2472 - _globals['_QUERY']._serialized_end=4750 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_start=418 + _globals['_QUERYINCENTIVIZEDPACKETSRESPONSE']._serialized_end=535 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_start=537 + _globals['_QUERYINCENTIVIZEDPACKETREQUEST']._serialized_end=647 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_start=649 + _globals['_QUERYINCENTIVIZEDPACKETRESPONSE']._serialized_end=764 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_start=767 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELREQUEST']._serialized_end=929 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_start=931 + _globals['_QUERYINCENTIVIZEDPACKETSFORCHANNELRESPONSE']._serialized_end=1052 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_start=1054 + _globals['_QUERYTOTALRECVFEESREQUEST']._serialized_end=1137 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_start=1140 + _globals['_QUERYTOTALRECVFEESRESPONSE']._serialized_end=1284 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_start=1286 + _globals['_QUERYTOTALACKFEESREQUEST']._serialized_end=1368 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_start=1371 + _globals['_QUERYTOTALACKFEESRESPONSE']._serialized_end=1512 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_start=1514 + _globals['_QUERYTOTALTIMEOUTFEESREQUEST']._serialized_end=1600 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_start=1603 + _globals['_QUERYTOTALTIMEOUTFEESRESPONSE']._serialized_end=1756 + _globals['_QUERYPAYEEREQUEST']._serialized_start=1758 + _globals['_QUERYPAYEEREQUEST']._serialized_end=1837 + _globals['_QUERYPAYEERESPONSE']._serialized_start=1839 + _globals['_QUERYPAYEERESPONSE']._serialized_end=1908 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_start=1910 + _globals['_QUERYCOUNTERPARTYPAYEEREQUEST']._serialized_end=2001 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_start=2003 + _globals['_QUERYCOUNTERPARTYPAYEERESPONSE']._serialized_end=2094 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_start=2096 + _globals['_QUERYFEEENABLEDCHANNELSREQUEST']._serialized_end=2210 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_start=2213 + _globals['_QUERYFEEENABLEDCHANNELSRESPONSE']._serialized_end=2357 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_start=2359 + _globals['_QUERYFEEENABLEDCHANNELREQUEST']._serialized_end=2470 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_start=2472 + _globals['_QUERYFEEENABLEDCHANNELRESPONSE']._serialized_end=2549 + _globals['_QUERY']._serialized_start=2552 + _globals['_QUERY']._serialized_end=4830 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py index 22673cf8..75e51cdf 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -11,14 +11,12 @@ _sym_db = _symbol_database.Default() -from amino import amino_pb2 as amino_dot_amino__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.fee.v1 import fee_pb2 as ibc_dot_applications_dot_fee_dot_v1_dot_fee__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\x89\x01\n\x10MsgRegisterPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:0\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x1b\x63osmos-sdk/MsgRegisterPayee\"\x1a\n\x18MsgRegisterPayeeResponse\"\xae\x01\n\x1cMsgRegisterCounterpartyPayee\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x1a\n\x12\x63ounterparty_payee\x18\x04 \x01(\t:<\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\'cosmos-sdk/MsgRegisterCounterpartyPayee\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xcc\x01\n\x0fMsgPayPacketFee\x12\x34\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x16\n\x0esource_port_id\x18\x02 \x01(\t\x12\x19\n\x11source_channel_id\x18\x03 \x01(\t\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:.\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\x8a\xe7\xb0*\x1a\x63osmos-sdk/MsgPayPacketFee\"\x19\n\x17MsgPayPacketFeeResponse\"\xcf\x01\n\x14MsgPayPacketFeeAsync\x12;\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x41\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01:7\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\x8a\xe7\xb0*\x1f\x63osmos-sdk/MsgPayPacketFeeAsync\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xf6\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x37Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/applications/fee/v1/tx.proto\x12\x17ibc.applications.fee.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\"\x8c\x01\n\x10MsgRegisterPayee\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\r\n\x05payee\x18\x04 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1a\n\x18MsgRegisterPayeeResponse\"\xc4\x01\n\x1cMsgRegisterCounterpartyPayee\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07relayer\x18\x03 \x01(\t\x12\x39\n\x12\x63ounterparty_payee\x18\x04 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"counterparty_payee\":\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xda\x01\n\x0fMsgPayPacketFee\x12/\n\x03\x66\x65\x65\x18\x01 \x01(\x0b\x32\x1c.ibc.applications.fee.v1.FeeB\x04\xc8\xde\x1f\x00\x12\x31\n\x0esource_port_id\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_port_id\"\x12\x37\n\x11source_channel_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"source_channel_id\"\x12\x0e\n\x06signer\x18\x04 \x01(\t\x12\x10\n\x08relayers\x18\x05 \x03(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x19\n\x17MsgPayPacketFeeResponse\"\xbf\x01\n\x14MsgPayPacketFeeAsync\x12J\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x18\xc8\xde\x1f\x00\xf2\xde\x1f\x10yaml:\"packet_id\"\x12Q\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x19\xc8\xde\x1f\x00\xf2\xde\x1f\x11yaml:\"packet_fee\":\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1e\n\x1cMsgPayPacketFeeAsyncResponse2\xef\x03\n\x03Msg\x12m\n\rRegisterPayee\x12).ibc.applications.fee.v1.MsgRegisterPayee\x1a\x31.ibc.applications.fee.v1.MsgRegisterPayeeResponse\x12\x91\x01\n\x19RegisterCounterpartyPayee\x12\x35.ibc.applications.fee.v1.MsgRegisterCounterpartyPayee\x1a=.ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse\x12j\n\x0cPayPacketFee\x12(.ibc.applications.fee.v1.MsgPayPacketFee\x1a\x30.ibc.applications.fee.v1.MsgPayPacketFeeResponse\x12y\n\x11PayPacketFeeAsync\x12-.ibc.applications.fee.v1.MsgPayPacketFeeAsync\x1a\x35.ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponseB7Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,39 +24,51 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' + DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types' + _MSGREGISTERPAYEE.fields_by_name['port_id']._options = None + _MSGREGISTERPAYEE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGREGISTERPAYEE.fields_by_name['channel_id']._options = None + _MSGREGISTERPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _MSGREGISTERPAYEE._options = None - _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' + _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['port_id']._options = None + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['channel_id']._options = None + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._options = None + _MSGREGISTERCOUNTERPARTYPAYEE.fields_by_name['counterparty_payee']._serialized_options = b'\362\336\037\031yaml:\"counterparty_payee\"' _MSGREGISTERCOUNTERPARTYPAYEE._options = None - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None - _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' + _MSGPAYPACKETFEE.fields_by_name['source_port_id']._options = None + _MSGPAYPACKETFEE.fields_by_name['source_port_id']._serialized_options = b'\362\336\037\025yaml:\"source_port_id\"' + _MSGPAYPACKETFEE.fields_by_name['source_channel_id']._options = None + _MSGPAYPACKETFEE.fields_by_name['source_channel_id']._serialized_options = b'\362\336\037\030yaml:\"source_channel_id\"' _MSGPAYPACKETFEE._options = None - _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' + _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None - _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000\362\336\037\020yaml:\"packet_id\"' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None - _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000\362\336\037\021yaml:\"packet_fee\"' _MSGPAYPACKETFEEASYNC._options = None - _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee\212\347\260*\037cosmos-sdk/MsgPayPacketFeeAsync' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERPAYEE']._serialized_start=198 - _globals['_MSGREGISTERPAYEE']._serialized_end=335 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=337 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=363 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=366 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=540 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=542 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=580 - _globals['_MSGPAYPACKETFEE']._serialized_start=583 - _globals['_MSGPAYPACKETFEE']._serialized_end=787 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=789 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=814 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=817 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1024 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1026 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1056 - _globals['_MSG']._serialized_start=1059 - _globals['_MSG']._serialized_end=1561 + _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGREGISTERPAYEE']._serialized_start=154 + _globals['_MSGREGISTERPAYEE']._serialized_end=294 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=296 + _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=322 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=325 + _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=521 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=523 + _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=561 + _globals['_MSGPAYPACKETFEE']._serialized_start=564 + _globals['_MSGPAYPACKETFEE']._serialized_end=782 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=784 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=809 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=812 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1003 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1005 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1035 + _globals['_MSG']._serialized_start=1038 + _globals['_MSG']._serialized_end=1533 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py index b6fbb7bb..14c1445c 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/controller_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\"$\n\x06Params\x12\x1a\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08\x42RZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCibc/applications/interchain_accounts/controller/v1/controller.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\"C\n\x06Params\x12\x39\n\x12\x63ontroller_enabled\x18\x01 \x01(\x08\x42\x1d\xf2\xde\x1f\x19yaml:\"controller_enabled\"BRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,9 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' - _globals['_PARAMS']._serialized_start=123 - _globals['_PARAMS']._serialized_end=159 + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + _PARAMS.fields_by_name['controller_enabled']._options = None + _PARAMS.fields_by_name['controller_enabled']._serialized_options = b'\362\336\037\031yaml:\"controller_enabled\"' + _globals['_PARAMS']._serialized_start=145 + _globals['_PARAMS']._serialized_end=212 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py index e4fc336e..cd26c45a 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/query_pb2.py @@ -12,10 +12,11 @@ from ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x1cgoogle/api/annotations.proto\"E\n\x1dQueryInterchainAccountRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\"1\n\x1eQueryInterchainAccountResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12QueryParamsRequest\"a\n\x13QueryParamsResponse\x12J\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.Params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsBRZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>ibc/applications/interchain_accounts/controller/v1/query.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\"_\n\x1dQueryInterchainAccountRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12/\n\rconnection_id\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\"1\n\x1eQueryInterchainAccountResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12QueryParamsRequest\"a\n\x13QueryParamsResponse\x12J\n\x06params\x18\x01 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.Params2\xfc\x03\n\x05Query\x12\x9a\x02\n\x11InterchainAccount\x12Q.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest\x1aR.ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse\"^\x82\xd3\xe4\x93\x02X\x12V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}\x12\xd5\x01\n\x06Params\x12\x46.ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest\x1aG.ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/ibc/apps/interchain_accounts/controller/v1/paramsBRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,19 +24,21 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + _QUERYINTERCHAINACCOUNTREQUEST.fields_by_name['connection_id']._options = None + _QUERYINTERCHAINACCOUNTREQUEST.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' _QUERY.methods_by_name['InterchainAccount']._options = None _QUERY.methods_by_name['InterchainAccount']._serialized_options = b'\202\323\344\223\002X\022V/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\0024\0222/ibc/apps/interchain_accounts/controller/v1/params' - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=217 - _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=286 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=288 - _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=337 - _globals['_QUERYPARAMSREQUEST']._serialized_start=339 - _globals['_QUERYPARAMSREQUEST']._serialized_end=359 - _globals['_QUERYPARAMSRESPONSE']._serialized_start=361 - _globals['_QUERYPARAMSRESPONSE']._serialized_end=458 - _globals['_QUERY']._serialized_start=461 - _globals['_QUERY']._serialized_end=969 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_start=239 + _globals['_QUERYINTERCHAINACCOUNTREQUEST']._serialized_end=334 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_start=336 + _globals['_QUERYINTERCHAINACCOUNTRESPONSE']._serialized_end=385 + _globals['_QUERYPARAMSREQUEST']._serialized_start=387 + _globals['_QUERYPARAMSREQUEST']._serialized_end=407 + _globals['_QUERYPARAMSRESPONSE']._serialized_start=409 + _globals['_QUERYPARAMSRESPONSE']._serialized_end=506 + _globals['_QUERY']._serialized_start=509 + _globals['_QUERY']._serialized_end=1017 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py index 9abeeb7b..f51dbde0 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2.py @@ -13,11 +13,9 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.applications.interchain_accounts.v1 import packet_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_v1_dot_packet__pb2 -from ibc.applications.interchain_accounts.controller.v1 import controller_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_controller__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"e\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"Q\n$MsgRegisterInterchainAccountResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xbc\x01\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12_\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x04\xc8\xde\x1f\x00\x12\x18\n\x10relative_timeout\x18\x04 \x01(\x04:\x0e\x88\xa0\x1f\x00\x82\xe7\xb0*\x05owner\"+\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x84\x01\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12P\n\x06params\x18\x02 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\x8a\x04\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse\x12\xa0\x01\n\x0cUpdateParams\x12\x43.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams\x1aK.ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42RZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;ibc/applications/interchain_accounts/controller/v1/tx.proto\x12\x32ibc.applications.interchain_accounts.controller.v1\x1a\x14gogoproto/gogo.proto\x1a\x34ibc/applications/interchain_accounts/v1/packet.proto\"y\n\x1cMsgRegisterInterchainAccount\x12\r\n\x05owner\x18\x01 \x01(\t\x12/\n\rconnection_id\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12\x0f\n\x07version\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"v\n$MsgRegisterInterchainAccountResponse\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12#\n\x07port_id\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\"\x83\x02\n\tMsgSendTx\x12\r\n\x05owner\x18\x01 \x01(\t\x12/\n\rconnection_id\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12u\n\x0bpacket_data\x18\x03 \x01(\x0b\x32\x44.ibc.applications.interchain_accounts.v1.InterchainAccountPacketDataB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"packet_data\"\x12\x35\n\x10relative_timeout\x18\x04 \x01(\x04\x42\x1b\xf2\xde\x1f\x17yaml:\"relative_timeout\":\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"%\n\x11MsgSendTxResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32\xe0\x02\n\x03Msg\x12\xc7\x01\n\x19RegisterInterchainAccount\x12P.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount\x1aX.ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse\x12\x8e\x01\n\x06SendTx\x12=.ibc.applications.interchain_accounts.controller.v1.MsgSendTx\x1a\x45.ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponseBRZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,35 +23,31 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/types' + DESCRIPTOR._serialized_options = b'ZPgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types' + _MSGREGISTERINTERCHAINACCOUNT.fields_by_name['connection_id']._options = None + _MSGREGISTERINTERCHAINACCOUNT.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' _MSGREGISTERINTERCHAINACCOUNT._options = None - _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._options = None - _MSGREGISTERINTERCHAINACCOUNTRESPONSE._serialized_options = b'\210\240\037\000' + _MSGREGISTERINTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['channel_id']._options = None + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['port_id']._options = None + _MSGREGISTERINTERCHAINACCOUNTRESPONSE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGSENDTX.fields_by_name['connection_id']._options = None + _MSGSENDTX.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' _MSGSENDTX.fields_by_name['packet_data']._options = None - _MSGSENDTX.fields_by_name['packet_data']._serialized_options = b'\310\336\037\000' + _MSGSENDTX.fields_by_name['packet_data']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"packet_data\"' + _MSGSENDTX.fields_by_name['relative_timeout']._options = None + _MSGSENDTX.fields_by_name['relative_timeout']._serialized_options = b'\362\336\037\027yaml:\"relative_timeout\"' _MSGSENDTX._options = None - _MSGSENDTX._serialized_options = b'\210\240\037\000\202\347\260*\005owner' - _MSGSENDTXRESPONSE._options = None - _MSGSENDTXRESPONSE._serialized_options = b'\210\240\037\000' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=285 - _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=386 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=388 - _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=469 - _globals['_MSGSENDTX']._serialized_start=472 - _globals['_MSGSENDTX']._serialized_end=660 - _globals['_MSGSENDTXRESPONSE']._serialized_start=662 - _globals['_MSGSENDTXRESPONSE']._serialized_end=705 - _globals['_MSGUPDATEPARAMS']._serialized_start=708 - _globals['_MSGUPDATEPARAMS']._serialized_end=840 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=842 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=867 - _globals['_MSG']._serialized_start=870 - _globals['_MSG']._serialized_end=1392 + _MSGSENDTX._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_start=191 + _globals['_MSGREGISTERINTERCHAINACCOUNT']._serialized_end=312 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_start=314 + _globals['_MSGREGISTERINTERCHAINACCOUNTRESPONSE']._serialized_end=432 + _globals['_MSGSENDTX']._serialized_start=435 + _globals['_MSGSENDTX']._serialized_end=694 + _globals['_MSGSENDTXRESPONSE']._serialized_start=696 + _globals['_MSGSENDTXRESPONSE']._serialized_end=733 + _globals['_MSG']._serialized_start=736 + _globals['_MSG']._serialized_end=1088 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py index e999014b..cbf4e543 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/controller/v1/tx_pb2_grpc.py @@ -25,11 +25,6 @@ def __init__(self, channel): request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.SerializeToString, response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, ) - self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) class MsgServicer(object): @@ -50,13 +45,6 @@ def SendTx(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -70,11 +58,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTx.FromString, response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.SerializeToString, ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.applications.interchain_accounts.controller.v1.Msg', rpc_method_handlers) @@ -119,20 +102,3 @@ def SendTx(request, ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgSendTxResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams', - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_controller_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py index 792e89b2..e42ba33a 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/genesis/v1/genesis_pb2.py @@ -16,7 +16,7 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\xe4\x01\n\x0cGenesisState\x12o\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\x04\xc8\xde\x1f\x00\x12\x63\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB\x04\xc8\xde\x1f\x00\"\xc9\x02\n\x16\x43ontrollerGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\r\n\x05ports\x18\x03 \x03(\t\x12P\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xbc\x02\n\x10HostGenesisState\x12]\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x04\xc8\xde\x1f\x00\x12o\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04port\x18\x03 \x01(\t\x12J\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"j\n\rActiveChannel\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x12\n\nchannel_id\x18\x03 \x01(\t\x12\x1d\n\x15is_middleware_enabled\x18\x04 \x01(\x08\"^\n\x1bRegisteredInterchainAccount\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x0f\n\x07port_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tBOZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=ibc/applications/interchain_accounts/genesis/v1/genesis.proto\x12/ibc.applications.interchain_accounts.genesis.v1\x1a\x14gogoproto/gogo.proto\x1a\x43ibc/applications/interchain_accounts/controller/v1/controller.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\xa6\x02\n\x0cGenesisState\x12\x92\x01\n\x18\x63ontroller_genesis_state\x18\x01 \x01(\x0b\x32G.ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisStateB\'\xc8\xde\x1f\x00\xf2\xde\x1f\x1fyaml:\"controller_genesis_state\"\x12\x80\x01\n\x12host_genesis_state\x18\x02 \x01(\x0b\x32\x41.ibc.applications.interchain_accounts.genesis.v1.HostGenesisStateB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"host_genesis_state\"\"\x82\x03\n\x16\x43ontrollerGenesisState\x12w\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"active_channels\"\x12\x8d\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x1ayaml:\"interchain_accounts\"\x12\r\n\x05ports\x18\x03 \x03(\t\x12P\n\x06params\x18\x04 \x01(\x0b\x32:.ibc.applications.interchain_accounts.controller.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xf5\x02\n\x10HostGenesisState\x12w\n\x0f\x61\x63tive_channels\x18\x01 \x03(\x0b\x32>.ibc.applications.interchain_accounts.genesis.v1.ActiveChannelB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"active_channels\"\x12\x8d\x01\n\x13interchain_accounts\x18\x02 \x03(\x0b\x32L.ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccountB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x1ayaml:\"interchain_accounts\"\x12\x0c\n\x04port\x18\x03 \x01(\t\x12J\n\x06params\x18\x04 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00\"\xd1\x01\n\rActiveChannel\x12/\n\rconnection_id\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12#\n\x07port_id\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x03 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12?\n\x15is_middleware_enabled\x18\x04 \x01(\x08\x42 \xf2\xde\x1f\x1cyaml:\"is_middleware_enabled\"\"\xa8\x01\n\x1bRegisteredInterchainAccount\x12/\n\rconnection_id\x18\x01 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"connection_id\"\x12#\n\x07port_id\x18\x02 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12\x33\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"account_address\"BOZMgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/genesis/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,31 +24,45 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/genesis/types' + DESCRIPTOR._serialized_options = b'ZMgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/genesis/types' _GENESISSTATE.fields_by_name['controller_genesis_state']._options = None - _GENESISSTATE.fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['controller_genesis_state']._serialized_options = b'\310\336\037\000\362\336\037\037yaml:\"controller_genesis_state\"' _GENESISSTATE.fields_by_name['host_genesis_state']._options = None - _GENESISSTATE.fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['host_genesis_state']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"host_genesis_state\"' _CONTROLLERGENESISSTATE.fields_by_name['active_channels']._options = None - _CONTROLLERGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _CONTROLLERGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"active_channels\"' _CONTROLLERGENESISSTATE.fields_by_name['interchain_accounts']._options = None - _CONTROLLERGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _CONTROLLERGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000\362\336\037\032yaml:\"interchain_accounts\"' _CONTROLLERGENESISSTATE.fields_by_name['params']._options = None _CONTROLLERGENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _HOSTGENESISSTATE.fields_by_name['active_channels']._options = None - _HOSTGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000' + _HOSTGENESISSTATE.fields_by_name['active_channels']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"active_channels\"' _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._options = None - _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000' + _HOSTGENESISSTATE.fields_by_name['interchain_accounts']._serialized_options = b'\310\336\037\000\362\336\037\032yaml:\"interchain_accounts\"' _HOSTGENESISSTATE.fields_by_name['params']._options = None _HOSTGENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _ACTIVECHANNEL.fields_by_name['connection_id']._options = None + _ACTIVECHANNEL.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' + _ACTIVECHANNEL.fields_by_name['port_id']._options = None + _ACTIVECHANNEL.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _ACTIVECHANNEL.fields_by_name['channel_id']._options = None + _ACTIVECHANNEL.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _ACTIVECHANNEL.fields_by_name['is_middleware_enabled']._options = None + _ACTIVECHANNEL.fields_by_name['is_middleware_enabled']._serialized_options = b'\362\336\037\034yaml:\"is_middleware_enabled\"' + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['connection_id']._options = None + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['connection_id']._serialized_options = b'\362\336\037\024yaml:\"connection_id\"' + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['port_id']._options = None + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['account_address']._options = None + _REGISTEREDINTERCHAINACCOUNT.fields_by_name['account_address']._serialized_options = b'\362\336\037\026yaml:\"account_address\"' _globals['_GENESISSTATE']._serialized_start=263 - _globals['_GENESISSTATE']._serialized_end=491 - _globals['_CONTROLLERGENESISSTATE']._serialized_start=494 - _globals['_CONTROLLERGENESISSTATE']._serialized_end=823 - _globals['_HOSTGENESISSTATE']._serialized_start=826 - _globals['_HOSTGENESISSTATE']._serialized_end=1142 - _globals['_ACTIVECHANNEL']._serialized_start=1144 - _globals['_ACTIVECHANNEL']._serialized_end=1250 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1252 - _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1346 + _globals['_GENESISSTATE']._serialized_end=557 + _globals['_CONTROLLERGENESISSTATE']._serialized_start=560 + _globals['_CONTROLLERGENESISSTATE']._serialized_end=946 + _globals['_HOSTGENESISSTATE']._serialized_start=949 + _globals['_HOSTGENESISSTATE']._serialized_end=1322 + _globals['_ACTIVECHANNEL']._serialized_start=1325 + _globals['_ACTIVECHANNEL']._serialized_end=1534 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_start=1537 + _globals['_REGISTEREDINTERCHAINACCOUNT']._serialized_end=1705 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py index 795968ac..736ddb23 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/host_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\"6\n\x06Params\x12\x14\n\x0chost_enabled\x18\x01 \x01(\x08\x12\x16\n\x0e\x61llow_messages\x18\x02 \x03(\tBLZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7ibc/applications/interchain_accounts/host/v1/host.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\"j\n\x06Params\x12-\n\x0chost_enabled\x18\x01 \x01(\x08\x42\x17\xf2\xde\x1f\x13yaml:\"host_enabled\"\x12\x31\n\x0e\x61llow_messages\x18\x02 \x03(\tB\x19\xf2\xde\x1f\x15yaml:\"allow_messages\"BLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' - _globals['_PARAMS']._serialized_start=105 - _globals['_PARAMS']._serialized_end=159 + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' + _PARAMS.fields_by_name['host_enabled']._options = None + _PARAMS.fields_by_name['host_enabled']._serialized_options = b'\362\336\037\023yaml:\"host_enabled\"' + _PARAMS.fields_by_name['allow_messages']._options = None + _PARAMS.fields_by_name['allow_messages']._serialized_options = b'\362\336\037\025yaml:\"allow_messages\"' + _globals['_PARAMS']._serialized_start=127 + _globals['_PARAMS']._serialized_end=233 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py index 700142a4..88ec2d6f 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/query_pb2.py @@ -15,7 +15,7 @@ from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.Params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsBLZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8ibc/applications/interchain_accounts/host/v1/query.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"\x14\n\x12QueryParamsRequest\"[\n\x13QueryParamsResponse\x12\x44\n\x06params\x18\x01 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.Params2\xcd\x01\n\x05Query\x12\xc3\x01\n\x06Params\x12@.ibc.applications.interchain_accounts.host.v1.QueryParamsRequest\x1a\x41.ibc.applications.interchain_accounts.host.v1.QueryParamsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/interchain_accounts/host/v1/paramsBLZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/interchain_accounts/host/v1/params' _globals['_QUERYPARAMSREQUEST']._serialized_start=193 diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py deleted file mode 100644 index 83486198..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: ibc/applications/interchain_accounts/host/v1/tx.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from ibc.applications.interchain_accounts.host.v1 import host_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_host__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/host/v1/tx.proto\x12,ibc.applications.interchain_accounts.host.v1\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x37ibc/applications/interchain_accounts/host/v1/host.proto\"~\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12J\n\x06params\x18\x02 \x01(\x0b\x32\x34.ibc.applications.interchain_accounts.host.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xa3\x01\n\x03Msg\x12\x94\x01\n\x0cUpdateParams\x12=.ibc.applications.interchain_accounts.host.v1.MsgUpdateParams\x1a\x45.ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42LZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/typesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ibc.applications.interchain_accounts.host.v1.tx_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGUPDATEPARAMS']._serialized_start=207 - _globals['_MSGUPDATEPARAMS']._serialized_end=333 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=335 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=360 - _globals['_MSG']._serialized_start=363 - _globals['_MSG']._serialized_end=526 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py deleted file mode 100644 index 227b6482..00000000 --- a/pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2_grpc.py +++ /dev/null @@ -1,70 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2 - - -class MsgStub(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdateParams = channel.unary_unary( - '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) - - -class MsgServicer(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MsgServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Msg(object): - """Msg defines the 27-interchain-accounts/host Msg service. - """ - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams', - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py index 3878bf25..e5d15d83 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/account_pb2.py @@ -16,7 +16,7 @@ from cosmos.auth.v1beta1 import auth_pb2 as cosmos_dot_auth_dot_v1beta1_dot_auth__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xb0\x01\n\x11InterchainAccount\x12<\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x04\xd0\xde\x1f\x01\x12\x15\n\raccount_owner\x18\x02 \x01(\t:F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIBGZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ibc/applications/interchain_accounts/v1/account.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/auth/v1beta1/auth.proto\"\xe1\x01\n\x11InterchainAccount\x12S\n\x0c\x62\x61se_account\x18\x01 \x01(\x0b\x32 .cosmos.auth.v1beta1.BaseAccountB\x1b\xd0\xde\x1f\x01\xf2\xde\x1f\x13yaml:\"base_account\"\x12/\n\raccount_owner\x18\x02 \x01(\tB\x18\xf2\xde\x1f\x14yaml:\"account_owner\":F\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xca\xb4-:ibc.applications.interchain_accounts.v1.InterchainAccountIBGZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,11 +24,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' _INTERCHAINACCOUNT.fields_by_name['base_account']._options = None - _INTERCHAINACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001' + _INTERCHAINACCOUNT.fields_by_name['base_account']._serialized_options = b'\320\336\037\001\362\336\037\023yaml:\"base_account\"' + _INTERCHAINACCOUNT.fields_by_name['account_owner']._options = None + _INTERCHAINACCOUNT.fields_by_name['account_owner']._serialized_options = b'\362\336\037\024yaml:\"account_owner\"' _INTERCHAINACCOUNT._options = None _INTERCHAINACCOUNT._serialized_options = b'\210\240\037\000\230\240\037\000\312\264-:ibc.applications.interchain_accounts.v1.InterchainAccountI' _globals['_INTERCHAINACCOUNT']._serialized_start=180 - _globals['_INTERCHAINACCOUNT']._serialized_end=356 + _globals['_INTERCHAINACCOUNT']._serialized_end=405 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py index 9d4fd546..a6b21d68 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/metadata_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\"\x8d\x01\n\x08Metadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12 \n\x18\x63ontroller_connection_id\x18\x02 \x01(\t\x12\x1a\n\x12host_connection_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x05 \x01(\t\x12\x0f\n\x07tx_type\x18\x06 \x01(\tBGZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6ibc/applications/interchain_accounts/v1/metadata.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x14gogoproto/gogo.proto\"\xd1\x01\n\x08Metadata\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x45\n\x18\x63ontroller_connection_id\x18\x02 \x01(\tB#\xf2\xde\x1f\x1fyaml:\"controller_connection_id\"\x12\x39\n\x12host_connection_id\x18\x03 \x01(\tB\x1d\xf2\xde\x1f\x19yaml:\"host_connection_id\"\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x05 \x01(\t\x12\x0f\n\x07tx_type\x18\x06 \x01(\tBGZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +22,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' - _globals['_METADATA']._serialized_start=100 - _globals['_METADATA']._serialized_end=241 + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' + _METADATA.fields_by_name['controller_connection_id']._options = None + _METADATA.fields_by_name['controller_connection_id']._serialized_options = b'\362\336\037\037yaml:\"controller_connection_id\"' + _METADATA.fields_by_name['host_connection_id']._options = None + _METADATA.fields_by_name['host_connection_id']._serialized_options = b'\362\336\037\031yaml:\"host_connection_id\"' + _globals['_METADATA']._serialized_start=122 + _globals['_METADATA']._serialized_end=331 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py index 9558a2e3..072b0f75 100644 --- a/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/interchain_accounts/v1/packet_pb2.py @@ -15,7 +15,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"v\n\x1bInterchainAccountPacketData\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.Type\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0c\n\x04memo\x18\x03 \x01(\t\"2\n\x08\x43osmosTx\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42GZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4ibc/applications/interchain_accounts/v1/packet.proto\x12\'ibc.applications.interchain_accounts.v1\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\"v\n\x1bInterchainAccountPacketData\x12;\n\x04type\x18\x01 \x01(\x0e\x32-.ibc.applications.interchain_accounts.v1.Type\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0c\n\x04memo\x18\x03 \x01(\t\"2\n\x08\x43osmosTx\x12&\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.Any*X\n\x04Type\x12%\n\x10TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12#\n\x0fTYPE_EXECUTE_TX\x10\x01\x1a\x0e\x8a\x9d \nEXECUTE_TX\x1a\x04\x88\xa3\x1e\x00\x42GZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types' + DESCRIPTOR._serialized_options = b'ZEgithub.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types' _TYPE._options = None _TYPE._serialized_options = b'\210\243\036\000' _TYPE.values_by_name["TYPE_UNSPECIFIED"]._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py index 4a179837..8e098ec3 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/authz_pb2.py @@ -16,7 +16,7 @@ from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xaf\x01\n\nAllocation\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12`\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x12\n\nallow_list\x18\x04 \x03(\t\"\x84\x01\n\x15TransferAuthorization\x12\x43\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/authz.proto\x12\x1cibc.applications.transfer.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\"\xe2\x01\n\nAllocation\x12+\n\x0bsource_port\x18\x01 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"source_port\"\x12\x31\n\x0esource_channel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12`\n\x0bspend_limit\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\x12\n\nallow_list\x18\x04 \x03(\t\"\x84\x01\n\x15TransferAuthorization\x12\x43\n\x0b\x61llocations\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.AllocationB\x04\xc8\xde\x1f\x00:&\xca\xb4-\"cosmos.authz.v1beta1.AuthorizationB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,7 +24,11 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _ALLOCATION.fields_by_name['source_port']._options = None + _ALLOCATION.fields_by_name['source_port']._serialized_options = b'\362\336\037\022yaml:\"source_port\"' + _ALLOCATION.fields_by_name['source_channel']._options = None + _ALLOCATION.fields_by_name['source_channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' _ALLOCATION.fields_by_name['spend_limit']._options = None _ALLOCATION.fields_by_name['spend_limit']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _TRANSFERAUTHORIZATION.fields_by_name['allocations']._options = None @@ -32,7 +36,7 @@ _TRANSFERAUTHORIZATION._options = None _TRANSFERAUTHORIZATION._serialized_options = b'\312\264-\"cosmos.authz.v1beta1.Authorization' _globals['_ALLOCATION']._serialized_start=156 - _globals['_ALLOCATION']._serialized_end=331 - _globals['_TRANSFERAUTHORIZATION']._serialized_start=334 - _globals['_TRANSFERAUTHORIZATION']._serialized_end=466 + _globals['_ALLOCATION']._serialized_end=382 + _globals['_TRANSFERAUTHORIZATION']._serialized_start=385 + _globals['_TRANSFERAUTHORIZATION']._serialized_end=517 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py index 2fd299b8..3db422d9 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/genesis_pb2.py @@ -16,7 +16,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\x90\x02\n\x0cGenesisState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12N\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12:\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x63\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ibc/applications/transfer/v1/genesis.proto\x12\x1cibc.applications.transfer.v1\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\"\xd4\x02\n\x0cGenesisState\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12\x65\n\x0c\x64\x65nom_traces\x18\x02 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB%\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"denom_traces\"\xaa\xdf\x1f\x06Traces\x12:\n\x06params\x18\x03 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00\x12|\n\x0etotal_escrowed\x18\x04 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinBI\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"total_escrowed\"\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,13 +24,15 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _GENESISSTATE.fields_by_name['port_id']._options = None + _GENESISSTATE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' _GENESISSTATE.fields_by_name['denom_traces']._options = None - _GENESISSTATE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' + _GENESISSTATE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"denom_traces\"\252\337\037\006Traces' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['total_escrowed']._options = None - _GENESISSTATE.fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' + _GENESISSTATE.fields_by_name['total_escrowed']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"total_escrowed\"\252\337\037(github.com/cosmos/cosmos-sdk/types.Coins' _globals['_GENESISSTATE']._serialized_start=176 - _globals['_GENESISSTATE']._serialized_end=448 + _globals['_GENESISSTATE']._serialized_end=516 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py index 93917afa..c493bb3a 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2.py @@ -18,7 +18,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ibc/applications/transfer/v1/query.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a+ibc/applications/transfer/v1/transfer.proto\x1a\x1cgoogle/api/annotations.proto\"&\n\x16QueryDenomTraceRequest\x12\x0c\n\x04hash\x18\x01 \x01(\t\"X\n\x17QueryDenomTraceResponse\x12=\n\x0b\x64\x65nom_trace\x18\x01 \x01(\x0b\x32(.ibc.applications.transfer.v1.DenomTrace\"U\n\x17QueryDenomTracesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa7\x01\n\x18QueryDenomTracesResponse\x12N\n\x0c\x64\x65nom_traces\x18\x01 \x03(\x0b\x32(.ibc.applications.transfer.v1.DenomTraceB\x0e\xc8\xde\x1f\x00\xaa\xdf\x1f\x06Traces\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x14\n\x12QueryParamsRequest\"K\n\x13QueryParamsResponse\x12\x34\n\x06params\x18\x01 \x01(\x0b\x32$.ibc.applications.transfer.v1.Params\"&\n\x15QueryDenomHashRequest\x12\r\n\x05trace\x18\x01 \x01(\t\"&\n\x16QueryDenomHashResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\"@\n\x19QueryEscrowAddressRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"4\n\x1aQueryEscrowAddressResponse\x12\x16\n\x0e\x65scrow_address\x18\x01 \x01(\t\"0\n\x1fQueryTotalEscrowForDenomRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"S\n QueryTotalEscrowForDenomResponse\x12/\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x32\xd8\x08\n\x05Query\x12\xaf\x01\n\nDenomTrace\x12\x34.ibc.applications.transfer.v1.QueryDenomTraceRequest\x1a\x35.ibc.applications.transfer.v1.QueryDenomTraceResponse\"4\x82\xd3\xe4\x93\x02.\x12,/ibc/apps/transfer/v1/denom_traces/{hash=**}\x12\xa8\x01\n\x0b\x44\x65nomTraces\x12\x35.ibc.applications.transfer.v1.QueryDenomTracesRequest\x1a\x36.ibc.applications.transfer.v1.QueryDenomTracesResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/ibc/apps/transfer/v1/denom_traces\x12\x93\x01\n\x06Params\x12\x30.ibc.applications.transfer.v1.QueryParamsRequest\x1a\x31.ibc.applications.transfer.v1.QueryParamsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/ibc/apps/transfer/v1/params\x12\xad\x01\n\tDenomHash\x12\x33.ibc.applications.transfer.v1.QueryDenomHashRequest\x1a\x34.ibc.applications.transfer.v1.QueryDenomHashResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/apps/transfer/v1/denom_hashes/{trace=**}\x12\xd6\x01\n\rEscrowAddress\x12\x37.ibc.applications.transfer.v1.QueryEscrowAddressRequest\x1a\x38.ibc.applications.transfer.v1.QueryEscrowAddressResponse\"R\x82\xd3\xe4\x93\x02L\x12J/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address\x12\xd2\x01\n\x13TotalEscrowForDenom\x12=.ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest\x1a>.ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/ibc/apps/transfer/v1/denoms/{denom=**}/total_escrowB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,15 +26,15 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._options = None _QUERYDENOMTRACESRESPONSE.fields_by_name['denom_traces']._serialized_options = b'\310\336\037\000\252\337\037\006Traces' _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._options = None _QUERYTOTALESCROWFORDENOMRESPONSE.fields_by_name['amount']._serialized_options = b'\310\336\037\000' - _QUERY.methods_by_name['DenomTraces']._options = None - _QUERY.methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' _QUERY.methods_by_name['DenomTrace']._options = None _QUERY.methods_by_name['DenomTrace']._serialized_options = b'\202\323\344\223\002.\022,/ibc/apps/transfer/v1/denom_traces/{hash=**}' + _QUERY.methods_by_name['DenomTraces']._options = None + _QUERY.methods_by_name['DenomTraces']._serialized_options = b'\202\323\344\223\002$\022\"/ibc/apps/transfer/v1/denom_traces' _QUERY.methods_by_name['Params']._options = None _QUERY.methods_by_name['Params']._serialized_options = b'\202\323\344\223\002\036\022\034/ibc/apps/transfer/v1/params' _QUERY.methods_by_name['DenomHash']._options = None diff --git a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py index c2bce469..74c1b392 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/query_pb2_grpc.py @@ -15,16 +15,16 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.DenomTraces = channel.unary_unary( - '/ibc.applications.transfer.v1.Query/DenomTraces', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, - ) self.DenomTrace = channel.unary_unary( '/ibc.applications.transfer.v1.Query/DenomTrace', request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, ) + self.DenomTraces = channel.unary_unary( + '/ibc.applications.transfer.v1.Query/DenomTraces', + request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, + response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, + ) self.Params = channel.unary_unary( '/ibc.applications.transfer.v1.Query/Params', request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.SerializeToString, @@ -51,15 +51,15 @@ class QueryServicer(object): """Query provides defines the gRPC querier service. """ - def DenomTraces(self, request, context): - """DenomTraces queries all denomination traces. + def DenomTrace(self, request, context): + """DenomTrace queries a denomination trace information. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def DenomTrace(self, request, context): - """DenomTrace queries a denomination trace information. + def DenomTraces(self, request, context): + """DenomTraces queries all denomination traces. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -96,16 +96,16 @@ def TotalEscrowForDenom(self, request, context): def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - 'DenomTraces': grpc.unary_unary_rpc_method_handler( - servicer.DenomTraces, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, - ), 'DenomTrace': grpc.unary_unary_rpc_method_handler( servicer.DenomTrace, request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.FromString, response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.SerializeToString, ), + 'DenomTraces': grpc.unary_unary_rpc_method_handler( + servicer.DenomTraces, + request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.FromString, + response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.SerializeToString, + ), 'Params': grpc.unary_unary_rpc_method_handler( servicer.Params, request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryParamsRequest.FromString, @@ -138,7 +138,7 @@ class Query(object): """ @staticmethod - def DenomTraces(request, + def DenomTrace(request, target, options=(), channel_credentials=None, @@ -148,14 +148,14 @@ def DenomTraces(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTraces', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTrace', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DenomTrace(request, + def DenomTraces(request, target, options=(), channel_credentials=None, @@ -165,9 +165,9 @@ def DenomTrace(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTrace', - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceRequest.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTraceResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Query/DenomTraces', + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesRequest.SerializeToString, + ibc_dot_applications_dot_transfer_dot_v1_dot_query__pb2.QueryDenomTracesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py index 05953191..db525dc8 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/transfer_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\".\n\nDenomTrace\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\"7\n\x06Params\x12\x14\n\x0csend_enabled\x18\x01 \x01(\x08\x12\x17\n\x0freceive_enabled\x18\x02 \x01(\x08\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ibc/applications/transfer/v1/transfer.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\".\n\nDenomTrace\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\"l\n\x06Params\x12-\n\x0csend_enabled\x18\x01 \x01(\x08\x42\x17\xf2\xde\x1f\x13yaml:\"send_enabled\"\x12\x33\n\x0freceive_enabled\x18\x02 \x01(\x08\x42\x1a\xf2\xde\x1f\x16yaml:\"receive_enabled\"B9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,9 +22,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' - _globals['_DENOMTRACE']._serialized_start=77 - _globals['_DENOMTRACE']._serialized_end=123 - _globals['_PARAMS']._serialized_start=125 - _globals['_PARAMS']._serialized_end=180 + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _PARAMS.fields_by_name['send_enabled']._options = None + _PARAMS.fields_by_name['send_enabled']._serialized_options = b'\362\336\037\023yaml:\"send_enabled\"' + _PARAMS.fields_by_name['receive_enabled']._options = None + _PARAMS.fields_by_name['receive_enabled']._serialized_options = b'\362\336\037\026yaml:\"receive_enabled\"' + _globals['_DENOMTRACE']._serialized_start=99 + _globals['_DENOMTRACE']._serialized_end=145 + _globals['_PARAMS']._serialized_start=147 + _globals['_PARAMS']._serialized_end=255 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 39cd7d49..596fc91c 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -11,15 +11,12 @@ _sym_db = _symbol_database.Default() -from amino import amino_pb2 as amino_dot_amino__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -from ibc.applications.transfer.v1 import transfer_pb2 as ibc_dot_applications_dot_transfer_dot_v1_dot_transfer__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\x1a+ibc/applications/transfer/v1/transfer.proto\"\xa5\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12\x33\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12=\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:*\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x16\x63osmos-sdk/MsgTransfer\"-\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04:\x04\x88\xa0\x1f\x00\"n\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12:\n\x06params\x18\x02 \x01(\x0b\x32$.ibc.applications.transfer.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xec\x01\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponse\x12t\n\x0cUpdateParams\x12-.ibc.applications.transfer.v1.MsgUpdateParams\x1a\x35.ibc.applications.transfer.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\x39Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ibc/applications/transfer/v1/tx.proto\x12\x1cibc.applications.transfer.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x1fibc/core/client/v1/client.proto\"\xe3\x02\n\x0bMsgTransfer\x12+\n\x0bsource_port\x18\x01 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"source_port\"\x12\x31\n\x0esource_channel\x18\x02 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12.\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12Q\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"timeout_height\"\x12\x37\n\x11timeout_timestamp\x18\x07 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\"\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\'\n\x13MsgTransferResponse\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x32o\n\x03Msg\x12h\n\x08Transfer\x12).ibc.applications.transfer.v1.MsgTransfer\x1a\x31.ibc.applications.transfer.v1.MsgTransferResponseB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,29 +24,23 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' + _MSGTRANSFER.fields_by_name['source_port']._options = None + _MSGTRANSFER.fields_by_name['source_port']._serialized_options = b'\362\336\037\022yaml:\"source_port\"' + _MSGTRANSFER.fields_by_name['source_channel']._options = None + _MSGTRANSFER.fields_by_name['source_channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' _MSGTRANSFER.fields_by_name['token']._options = None - _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000' _MSGTRANSFER.fields_by_name['timeout_height']._options = None - _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\250\347\260*\001' + _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"timeout_height\"' + _MSGTRANSFER.fields_by_name['timeout_timestamp']._options = None + _MSGTRANSFER.fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' _MSGTRANSFER._options = None - _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender\212\347\260*\026cosmos-sdk/MsgTransfer' - _MSGTRANSFERRESPONSE._options = None - _MSGTRANSFERRESPONSE._serialized_options = b'\210\240\037\000' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGTRANSFER']._serialized_start=248 - _globals['_MSGTRANSFER']._serialized_end=541 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=543 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=588 - _globals['_MSGUPDATEPARAMS']._serialized_start=590 - _globals['_MSGUPDATEPARAMS']._serialized_end=700 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=702 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=727 - _globals['_MSG']._serialized_start=730 - _globals['_MSG']._serialized_end=966 + _MSGTRANSFER._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGTRANSFER']._serialized_start=159 + _globals['_MSGTRANSFER']._serialized_end=514 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=516 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=555 + _globals['_MSG']._serialized_start=557 + _globals['_MSG']._serialized_end=668 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py index db422c2b..74bc9aae 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2_grpc.py @@ -20,11 +20,6 @@ def __init__(self, channel): request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.SerializeToString, response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, ) - self.UpdateParams = channel.unary_unary( - '/ibc.applications.transfer.v1.Msg/UpdateParams', - request_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) class MsgServicer(object): @@ -38,13 +33,6 @@ def Transfer(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def UpdateParams(self, request, context): - """UpdateParams defines a rpc handler for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -53,11 +41,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransfer.FromString, response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.SerializeToString, ), - 'UpdateParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateParams, - request_deserializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.applications.transfer.v1.Msg', rpc_method_handlers) @@ -85,20 +68,3 @@ def Transfer(request, ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgTransferResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.applications.transfer.v1.Msg/UpdateParams', - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_applications_dot_transfer_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py index 945c0432..63d9a418 100644 --- a/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v2/packet_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"h\n\x17\x46ungibleTokenPacketData\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\x12\x0c\n\x04memo\x18\x05 \x01(\tB9Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ibc/applications/transfer/v2/packet.proto\x12\x1cibc.applications.transfer.v2\"h\n\x17\x46ungibleTokenPacketData\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x0e\n\x06sender\x18\x03 \x01(\t\x12\x10\n\x08receiver\x18\x04 \x01(\t\x12\x0c\n\x04memo\x18\x05 \x01(\tB9Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,7 +21,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' + DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v7/modules/apps/transfer/types' _globals['_FUNGIBLETOKENPACKETDATA']._serialized_start=75 _globals['_FUNGIBLETOKENPACKETDATA']._serialized_end=179 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py index 5a3245de..11ca6c73 100644 --- a/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/channel_pb2.py @@ -15,7 +15,7 @@ from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xd1\x01\n\x07\x43hannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\x80\x02\n\x11IdentifiedChannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x63onnection_hops\x18\x04 \x03(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x0f\n\x07port_id\x18\x06 \x01(\t\x12\x12\n\nchannel_id\x18\x07 \x01(\t:\x04\x88\xa0\x1f\x00\"9\n\x0c\x43ounterparty\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe7\x01\n\x06Packet\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x13\n\x0bsource_port\x18\x02 \x01(\t\x12\x16\n\x0esource_channel\x18\x03 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x04 \x01(\t\x12\x1b\n\x13\x64\x65stination_channel\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x38\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x08 \x01(\x04:\x04\x88\xa0\x1f\x00\"X\n\x0bPacketState\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c:\x04\x88\xa0\x1f\x00\"G\n\x08PacketId\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"@\n\x0f\x41\x63knowledgement\x12\x10\n\x06result\x18\x15 \x01(\x0cH\x00\x12\x0f\n\x05\x65rror\x18\x16 \x01(\tH\x00\x42\n\n\x08response\"N\n\x07Timeout\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\ttimestamp\x18\x02 \x01(\x04*\xb7\x01\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/channel.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\"\xed\x01\n\x07\x43hannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x33\n\x0f\x63onnection_hops\x18\x04 \x03(\tB\x1a\xf2\xde\x1f\x16yaml:\"connection_hops\"\x12\x0f\n\x07version\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\x9c\x02\n\x11IdentifiedChannel\x12)\n\x05state\x18\x01 \x01(\x0e\x32\x1a.ibc.core.channel.v1.State\x12,\n\x08ordering\x18\x02 \x01(\x0e\x32\x1a.ibc.core.channel.v1.Order\x12=\n\x0c\x63ounterparty\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.CounterpartyB\x04\xc8\xde\x1f\x00\x12\x33\n\x0f\x63onnection_hops\x18\x04 \x03(\tB\x1a\xf2\xde\x1f\x16yaml:\"connection_hops\"\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x0f\n\x07port_id\x18\x06 \x01(\t\x12\x12\n\nchannel_id\x18\x07 \x01(\t:\x04\x88\xa0\x1f\x00\"d\n\x0c\x43ounterparty\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\":\x04\x88\xa0\x1f\x00\"\x8e\x03\n\x06Packet\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12+\n\x0bsource_port\x18\x02 \x01(\tB\x16\xf2\xde\x1f\x12yaml:\"source_port\"\x12\x31\n\x0esource_channel\x18\x03 \x01(\tB\x19\xf2\xde\x1f\x15yaml:\"source_channel\"\x12\x35\n\x10\x64\x65stination_port\x18\x04 \x01(\tB\x1b\xf2\xde\x1f\x17yaml:\"destination_port\"\x12;\n\x13\x64\x65stination_channel\x18\x05 \x01(\tB\x1e\xf2\xde\x1f\x1ayaml:\"destination_channel\"\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12Q\n\x0etimeout_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"timeout_height\"\x12\x37\n\x11timeout_timestamp\x18\x08 \x01(\x04\x42\x1c\xf2\xde\x1f\x18yaml:\"timeout_timestamp\":\x04\x88\xa0\x1f\x00\"\x83\x01\n\x0bPacketState\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c:\x04\x88\xa0\x1f\x00\"r\n\x08PacketId\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x10\n\x08sequence\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"@\n\x0f\x41\x63knowledgement\x12\x10\n\x06result\x18\x15 \x01(\x0cH\x00\x12\x0f\n\x05\x65rror\x18\x16 \x01(\tH\x00\x42\n\n\x08response*\xb7\x01\n\x05State\x12\x36\n\x1fSTATE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x11\x8a\x9d \rUNINITIALIZED\x12\x18\n\nSTATE_INIT\x10\x01\x1a\x08\x8a\x9d \x04INIT\x12\x1e\n\rSTATE_TRYOPEN\x10\x02\x1a\x0b\x8a\x9d \x07TRYOPEN\x12\x18\n\nSTATE_OPEN\x10\x03\x1a\x08\x8a\x9d \x04OPEN\x12\x1c\n\x0cSTATE_CLOSED\x10\x04\x1a\n\x8a\x9d \x06\x43LOSED\x1a\x04\x88\xa3\x1e\x00*w\n\x05Order\x12$\n\x16ORDER_NONE_UNSPECIFIED\x10\x00\x1a\x08\x8a\x9d \x04NONE\x12\"\n\x0fORDER_UNORDERED\x10\x01\x1a\r\x8a\x9d \tUNORDERED\x12\x1e\n\rORDER_ORDERED\x10\x02\x1a\x0b\x8a\x9d \x07ORDERED\x1a\x04\x88\xa3\x1e\x00\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _STATE._options = None _STATE._serialized_options = b'\210\243\036\000' _STATE.values_by_name["STATE_UNINITIALIZED_UNSPECIFIED"]._options = None @@ -46,42 +46,64 @@ _ORDER.values_by_name["ORDER_ORDERED"]._serialized_options = b'\212\235 \007ORDERED' _CHANNEL.fields_by_name['counterparty']._options = None _CHANNEL.fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _CHANNEL.fields_by_name['connection_hops']._options = None + _CHANNEL.fields_by_name['connection_hops']._serialized_options = b'\362\336\037\026yaml:\"connection_hops\"' _CHANNEL._options = None _CHANNEL._serialized_options = b'\210\240\037\000' _IDENTIFIEDCHANNEL.fields_by_name['counterparty']._options = None _IDENTIFIEDCHANNEL.fields_by_name['counterparty']._serialized_options = b'\310\336\037\000' + _IDENTIFIEDCHANNEL.fields_by_name['connection_hops']._options = None + _IDENTIFIEDCHANNEL.fields_by_name['connection_hops']._serialized_options = b'\362\336\037\026yaml:\"connection_hops\"' _IDENTIFIEDCHANNEL._options = None _IDENTIFIEDCHANNEL._serialized_options = b'\210\240\037\000' + _COUNTERPARTY.fields_by_name['port_id']._options = None + _COUNTERPARTY.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _COUNTERPARTY.fields_by_name['channel_id']._options = None + _COUNTERPARTY.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _COUNTERPARTY._options = None _COUNTERPARTY._serialized_options = b'\210\240\037\000' + _PACKET.fields_by_name['source_port']._options = None + _PACKET.fields_by_name['source_port']._serialized_options = b'\362\336\037\022yaml:\"source_port\"' + _PACKET.fields_by_name['source_channel']._options = None + _PACKET.fields_by_name['source_channel']._serialized_options = b'\362\336\037\025yaml:\"source_channel\"' + _PACKET.fields_by_name['destination_port']._options = None + _PACKET.fields_by_name['destination_port']._serialized_options = b'\362\336\037\027yaml:\"destination_port\"' + _PACKET.fields_by_name['destination_channel']._options = None + _PACKET.fields_by_name['destination_channel']._serialized_options = b'\362\336\037\032yaml:\"destination_channel\"' _PACKET.fields_by_name['timeout_height']._options = None - _PACKET.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' + _PACKET.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"timeout_height\"' + _PACKET.fields_by_name['timeout_timestamp']._options = None + _PACKET.fields_by_name['timeout_timestamp']._serialized_options = b'\362\336\037\030yaml:\"timeout_timestamp\"' _PACKET._options = None _PACKET._serialized_options = b'\210\240\037\000' + _PACKETSTATE.fields_by_name['port_id']._options = None + _PACKETSTATE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _PACKETSTATE.fields_by_name['channel_id']._options = None + _PACKETSTATE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _PACKETSTATE._options = None _PACKETSTATE._serialized_options = b'\210\240\037\000' + _PACKETID.fields_by_name['port_id']._options = None + _PACKETID.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _PACKETID.fields_by_name['channel_id']._options = None + _PACKETID.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _PACKETID._options = None _PACKETID._serialized_options = b'\210\240\037\000' - _TIMEOUT.fields_by_name['height']._options = None - _TIMEOUT.fields_by_name['height']._serialized_options = b'\310\336\037\000' - _globals['_STATE']._serialized_start=1187 - _globals['_STATE']._serialized_end=1370 - _globals['_ORDER']._serialized_start=1372 - _globals['_ORDER']._serialized_end=1491 + _globals['_STATE']._serialized_start=1460 + _globals['_STATE']._serialized_end=1643 + _globals['_ORDER']._serialized_start=1645 + _globals['_ORDER']._serialized_end=1764 _globals['_CHANNEL']._serialized_start=114 - _globals['_CHANNEL']._serialized_end=323 - _globals['_IDENTIFIEDCHANNEL']._serialized_start=326 - _globals['_IDENTIFIEDCHANNEL']._serialized_end=582 - _globals['_COUNTERPARTY']._serialized_start=584 - _globals['_COUNTERPARTY']._serialized_end=641 - _globals['_PACKET']._serialized_start=644 - _globals['_PACKET']._serialized_end=875 - _globals['_PACKETSTATE']._serialized_start=877 - _globals['_PACKETSTATE']._serialized_end=965 - _globals['_PACKETID']._serialized_start=967 - _globals['_PACKETID']._serialized_end=1038 - _globals['_ACKNOWLEDGEMENT']._serialized_start=1040 - _globals['_ACKNOWLEDGEMENT']._serialized_end=1104 - _globals['_TIMEOUT']._serialized_start=1106 - _globals['_TIMEOUT']._serialized_end=1184 + _globals['_CHANNEL']._serialized_end=351 + _globals['_IDENTIFIEDCHANNEL']._serialized_start=354 + _globals['_IDENTIFIEDCHANNEL']._serialized_end=638 + _globals['_COUNTERPARTY']._serialized_start=640 + _globals['_COUNTERPARTY']._serialized_end=740 + _globals['_PACKET']._serialized_start=743 + _globals['_PACKET']._serialized_end=1141 + _globals['_PACKETSTATE']._serialized_start=1144 + _globals['_PACKETSTATE']._serialized_end=1275 + _globals['_PACKETID']._serialized_start=1277 + _globals['_PACKETID']._serialized_end=1391 + _globals['_ACKNOWLEDGEMENT']._serialized_start=1393 + _globals['_ACKNOWLEDGEMENT']._serialized_end=1457 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py index d02b8e20..8cee2f7d 100644 --- a/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/genesis_pb2.py @@ -15,7 +15,7 @@ from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\x83\x04\n\x0cGenesisState\x12S\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannel\x12@\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12;\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x38\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x41\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x41\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12@\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x04\xc8\xde\x1f\x00\x12\x1d\n\x15next_channel_sequence\x18\x08 \x01(\x04\"G\n\x0ePacketSequence\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!ibc/core/channel/v1/genesis.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\"\xef\x04\n\x0cGenesisState\x12S\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannelB\x19\xc8\xde\x1f\x00\xfa\xde\x1f\x11IdentifiedChannel\x12@\n\x10\x61\x63knowledgements\x18\x02 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12;\n\x0b\x63ommitments\x18\x03 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12\x38\n\x08receipts\x18\x04 \x03(\x0b\x32 .ibc.core.channel.v1.PacketStateB\x04\xc8\xde\x1f\x00\x12Z\n\x0esend_sequences\x18\x05 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"send_sequences\"\x12Z\n\x0erecv_sequences\x18\x06 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"recv_sequences\"\x12X\n\rack_sequences\x18\x07 \x03(\x0b\x32#.ibc.core.channel.v1.PacketSequenceB\x1c\xc8\xde\x1f\x00\xf2\xde\x1f\x14yaml:\"ack_sequences\"\x12?\n\x15next_channel_sequence\x18\x08 \x01(\x04\x42 \xf2\xde\x1f\x1cyaml:\"next_channel_sequence\"\"r\n\x0ePacketSequence\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x42;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _GENESISSTATE.fields_by_name['channels']._options = None _GENESISSTATE.fields_by_name['channels']._serialized_options = b'\310\336\037\000\372\336\037\021IdentifiedChannel' _GENESISSTATE.fields_by_name['acknowledgements']._options = None @@ -33,13 +33,19 @@ _GENESISSTATE.fields_by_name['receipts']._options = None _GENESISSTATE.fields_by_name['receipts']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['send_sequences']._options = None - _GENESISSTATE.fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['send_sequences']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"send_sequences\"' _GENESISSTATE.fields_by_name['recv_sequences']._options = None - _GENESISSTATE.fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['recv_sequences']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"recv_sequences\"' _GENESISSTATE.fields_by_name['ack_sequences']._options = None - _GENESISSTATE.fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['ack_sequences']._serialized_options = b'\310\336\037\000\362\336\037\024yaml:\"ack_sequences\"' + _GENESISSTATE.fields_by_name['next_channel_sequence']._options = None + _GENESISSTATE.fields_by_name['next_channel_sequence']._serialized_options = b'\362\336\037\034yaml:\"next_channel_sequence\"' + _PACKETSEQUENCE.fields_by_name['port_id']._options = None + _PACKETSEQUENCE.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _PACKETSEQUENCE.fields_by_name['channel_id']._options = None + _PACKETSEQUENCE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _globals['_GENESISSTATE']._serialized_start=116 - _globals['_GENESISSTATE']._serialized_end=631 - _globals['_PACKETSEQUENCE']._serialized_start=633 - _globals['_PACKETSEQUENCE']._serialized_end=704 + _globals['_GENESISSTATE']._serialized_end=739 + _globals['_PACKETSEQUENCE']._serialized_start=741 + _globals['_PACKETSEQUENCE']._serialized_end=855 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py index 2fea022d..2bb7cb3f 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2.py @@ -19,7 +19,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\":\n\x13QueryChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x8c\x01\n\x14QueryChannelResponse\x12-\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x14QueryChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc0\x01\n\x15QueryChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"p\n\x1eQueryConnectionChannelsRequest\x12\x12\n\nconnection\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xca\x01\n\x1fQueryConnectionChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"E\n\x1eQueryChannelClientStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xb4\x01\n\x1fQueryChannelClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"z\n!QueryChannelConsensusStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x17\n\x0frevision_number\x18\x03 \x01(\x04\x12\x17\n\x0frevision_height\x18\x04 \x01(\x04\"\xad\x01\n\"QueryChannelConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"U\n\x1cQueryPacketCommitmentRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"z\n\x1dQueryPacketCommitmentResponse\x12\x12\n\ncommitment\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\x80\x01\n\x1dQueryPacketCommitmentsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc6\x01\n\x1eQueryPacketCommitmentsResponse\x12\x35\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x19QueryPacketReceiptRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"u\n\x1aQueryPacketReceiptResponse\x12\x10\n\x08received\x18\x02 \x01(\x08\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"Z\n!QueryPacketAcknowledgementRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\x84\x01\n\"QueryPacketAcknowledgementResponse\x12\x17\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\xaa\x01\n\"QueryPacketAcknowledgementsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12#\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04\"\xd0\x01\n#QueryPacketAcknowledgementsResponse\x12:\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"i\n\x1dQueryUnreceivedPacketsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12#\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04\"e\n\x1eQueryUnreceivedPacketsResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"_\n\x1aQueryUnreceivedAcksRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1c\n\x14packet_ack_sequences\x18\x03 \x03(\x04\"b\n\x1bQueryUnreceivedAcksResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"F\n\x1fQueryNextSequenceReceiveRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x88\x01\n QueryNextSequenceReceiveResponse\x12\x1d\n\x15next_sequence_receive\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"C\n\x1cQueryNextSequenceSendRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x82\x01\n\x1dQueryNextSequenceSendResponse\x12\x1a\n\x12next_sequence_send\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\xde\x17\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence\x12\xd0\x01\n\x10NextSequenceSend\x12\x31.ibc.core.channel.v1.QueryNextSequenceSendRequest\x1a\x32.ibc.core.channel.v1.QueryNextSequenceSendResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_sendB;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/channel/v1/query.proto\x12\x13ibc.core.channel.v1\x1a\x1fibc/core/client/v1/client.proto\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x14gogoproto/gogo.proto\":\n\x13QueryChannelRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x8c\x01\n\x14QueryChannelResponse\x12-\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x14QueryChannelsRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc0\x01\n\x15QueryChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"p\n\x1eQueryConnectionChannelsRequest\x12\x12\n\nconnection\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xca\x01\n\x1fQueryConnectionChannelsResponse\x12\x38\n\x08\x63hannels\x18\x01 \x03(\x0b\x32&.ibc.core.channel.v1.IdentifiedChannel\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"E\n\x1eQueryChannelClientStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\xb4\x01\n\x1fQueryChannelClientStateResponse\x12J\n\x17identified_client_state\x18\x01 \x01(\x0b\x32).ibc.core.client.v1.IdentifiedClientState\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"z\n!QueryChannelConsensusStateRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x17\n\x0frevision_number\x18\x03 \x01(\x04\x12\x17\n\x0frevision_height\x18\x04 \x01(\x04\"\xad\x01\n\"QueryChannelConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"U\n\x1cQueryPacketCommitmentRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"z\n\x1dQueryPacketCommitmentResponse\x12\x12\n\ncommitment\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\x80\x01\n\x1dQueryPacketCommitmentsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xc6\x01\n\x1eQueryPacketCommitmentsResponse\x12\x35\n\x0b\x63ommitments\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"R\n\x19QueryPacketReceiptRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"u\n\x1aQueryPacketReceiptResponse\x12\x10\n\x08received\x18\x02 \x01(\x08\x12\r\n\x05proof\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"Z\n!QueryPacketAcknowledgementRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\"\x84\x01\n\"QueryPacketAcknowledgementResponse\x12\x17\n\x0f\x61\x63knowledgement\x18\x01 \x01(\x0c\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"\xaa\x01\n\"QueryPacketAcknowledgementsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x12#\n\x1bpacket_commitment_sequences\x18\x04 \x03(\x04\"\xd0\x01\n#QueryPacketAcknowledgementsResponse\x12:\n\x10\x61\x63knowledgements\x18\x01 \x03(\x0b\x32 .ibc.core.channel.v1.PacketState\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\x12\x30\n\x06height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"i\n\x1dQueryUnreceivedPacketsRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12#\n\x1bpacket_commitment_sequences\x18\x03 \x03(\x04\"e\n\x1eQueryUnreceivedPacketsResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"_\n\x1aQueryUnreceivedAcksRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1c\n\x14packet_ack_sequences\x18\x03 \x03(\x04\"b\n\x1bQueryUnreceivedAcksResponse\x12\x11\n\tsequences\x18\x01 \x03(\x04\x12\x30\n\x06height\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"F\n\x1fQueryNextSequenceReceiveRequest\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\"\x88\x01\n QueryNextSequenceReceiveResponse\x12\x1d\n\x15next_sequence_receive\x18\x01 \x01(\x04\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x32\x8b\x16\n\x05Query\x12\xa2\x01\n\x07\x43hannel\x12(.ibc.core.channel.v1.QueryChannelRequest\x1a).ibc.core.channel.v1.QueryChannelResponse\"B\x82\xd3\xe4\x93\x02<\x12:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}\x12\x88\x01\n\x08\x43hannels\x12).ibc.core.channel.v1.QueryChannelsRequest\x1a*.ibc.core.channel.v1.QueryChannelsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/ibc/core/channel/v1/channels\x12\xbf\x01\n\x12\x43onnectionChannels\x12\x33.ibc.core.channel.v1.QueryConnectionChannelsRequest\x1a\x34.ibc.core.channel.v1.QueryConnectionChannelsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/channel/v1/connections/{connection}/channels\x12\xd0\x01\n\x12\x43hannelClientState\x12\x33.ibc.core.channel.v1.QueryChannelClientStateRequest\x1a\x34.ibc.core.channel.v1.QueryChannelClientStateResponse\"O\x82\xd3\xe4\x93\x02I\x12G/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state\x12\x92\x02\n\x15\x43hannelConsensusState\x12\x36.ibc.core.channel.v1.QueryChannelConsensusStateRequest\x1a\x37.ibc.core.channel.v1.QueryChannelConsensusStateResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xdb\x01\n\x10PacketCommitment\x12\x31.ibc.core.channel.v1.QueryPacketCommitmentRequest\x1a\x32.ibc.core.channel.v1.QueryPacketCommitmentResponse\"`\x82\xd3\xe4\x93\x02Z\x12X/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}\x12\xd3\x01\n\x11PacketCommitments\x12\x32.ibc.core.channel.v1.QueryPacketCommitmentsRequest\x1a\x33.ibc.core.channel.v1.QueryPacketCommitmentsResponse\"U\x82\xd3\xe4\x93\x02O\x12M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments\x12\xcf\x01\n\rPacketReceipt\x12..ibc.core.channel.v1.QueryPacketReceiptRequest\x1a/.ibc.core.channel.v1.QueryPacketReceiptResponse\"]\x82\xd3\xe4\x93\x02W\x12U/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}\x12\xe3\x01\n\x15PacketAcknowledgement\x12\x36.ibc.core.channel.v1.QueryPacketAcknowledgementRequest\x1a\x37.ibc.core.channel.v1.QueryPacketAcknowledgementResponse\"Y\x82\xd3\xe4\x93\x02S\x12Q/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}\x12\xe7\x01\n\x16PacketAcknowledgements\x12\x37.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest\x1a\x38.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse\"Z\x82\xd3\xe4\x93\x02T\x12R/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements\x12\x86\x02\n\x11UnreceivedPackets\x12\x32.ibc.core.channel.v1.QueryUnreceivedPacketsRequest\x1a\x33.ibc.core.channel.v1.QueryUnreceivedPacketsResponse\"\x87\x01\x82\xd3\xe4\x93\x02\x80\x01\x12~/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets\x12\xf1\x01\n\x0eUnreceivedAcks\x12/.ibc.core.channel.v1.QueryUnreceivedAcksRequest\x1a\x30.ibc.core.channel.v1.QueryUnreceivedAcksResponse\"|\x82\xd3\xe4\x93\x02v\x12t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks\x12\xd4\x01\n\x13NextSequenceReceive\x12\x34.ibc.core.channel.v1.QueryNextSequenceReceiveRequest\x1a\x35.ibc.core.channel.v1.QueryNextSequenceReceiveResponse\"P\x82\xd3\xe4\x93\x02J\x12H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequenceB;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,7 +27,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._options = None _QUERYCHANNELRESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERYCHANNELSRESPONSE.fields_by_name['height']._options = None @@ -54,8 +54,6 @@ _QUERYUNRECEIVEDACKSRESPONSE.fields_by_name['height']._serialized_options = b'\310\336\037\000' _QUERYNEXTSEQUENCERECEIVERESPONSE.fields_by_name['proof_height']._options = None _QUERYNEXTSEQUENCERECEIVERESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' - _QUERYNEXTSEQUENCESENDRESPONSE.fields_by_name['proof_height']._options = None - _QUERYNEXTSEQUENCESENDRESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERY.methods_by_name['Channel']._options = None _QUERY.methods_by_name['Channel']._serialized_options = b'\202\323\344\223\002<\022:/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}' _QUERY.methods_by_name['Channels']._options = None @@ -82,8 +80,6 @@ _QUERY.methods_by_name['UnreceivedAcks']._serialized_options = b'\202\323\344\223\002v\022t/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks' _QUERY.methods_by_name['NextSequenceReceive']._options = None _QUERY.methods_by_name['NextSequenceReceive']._serialized_options = b'\202\323\344\223\002J\022H/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence' - _QUERY.methods_by_name['NextSequenceSend']._options = None - _QUERY.methods_by_name['NextSequenceSend']._serialized_options = b'\202\323\344\223\002O\022M/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send' _globals['_QUERYCHANNELREQUEST']._serialized_start=247 _globals['_QUERYCHANNELREQUEST']._serialized_end=305 _globals['_QUERYCHANNELRESPONSE']._serialized_start=308 @@ -136,10 +132,6 @@ _globals['_QUERYNEXTSEQUENCERECEIVEREQUEST']._serialized_end=3436 _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_start=3439 _globals['_QUERYNEXTSEQUENCERECEIVERESPONSE']._serialized_end=3575 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_start=3577 - _globals['_QUERYNEXTSEQUENCESENDREQUEST']._serialized_end=3644 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_start=3647 - _globals['_QUERYNEXTSEQUENCESENDRESPONSE']._serialized_end=3777 - _globals['_QUERY']._serialized_start=3780 - _globals['_QUERY']._serialized_end=6818 + _globals['_QUERY']._serialized_start=3578 + _globals['_QUERY']._serialized_end=6405 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py index be5ec4ee..8dcef23a 100644 --- a/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/channel/v1/query_pb2_grpc.py @@ -80,11 +80,6 @@ def __init__(self, channel): request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.SerializeToString, response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, ) - self.NextSequenceSend = channel.unary_unary( - '/ibc.core.channel.v1.Query/NextSequenceSend', - request_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - response_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - ) class QueryServicer(object): @@ -190,13 +185,6 @@ def NextSequenceReceive(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def NextSequenceSend(self, request, context): - """NextSequenceSend returns the next send sequence for a given channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { @@ -265,11 +253,6 @@ def add_QueryServicer_to_server(servicer, server): request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveRequest.FromString, response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.SerializeToString, ), - 'NextSequenceSend': grpc.unary_unary_rpc_method_handler( - servicer.NextSequenceSend, - request_deserializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.FromString, - response_serializer=ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.core.channel.v1.Query', rpc_method_handlers) @@ -501,20 +484,3 @@ def NextSequenceReceive(request, ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceReceiveResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def NextSequenceSend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.channel.v1.Query/NextSequenceSend', - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendRequest.SerializeToString, - ibc_dot_core_dot_channel_dot_v1_dot_query__pb2.QueryNextSequenceSendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py index 6f14197e..b6475acc 100644 --- a/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/channel/v1/tx_pb2.py @@ -14,10 +14,9 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 from ibc.core.channel.v1 import channel_pb2 as ibc_dot_core_dot_channel_dot_v1_dot_channel__pb2 -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"{\n\x12MsgChannelOpenInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"G\n\x1aMsgChannelOpenInitResponse\x12\x12\n\nchannel_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\x85\x02\n\x11MsgChannelOpenTry\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x1f\n\x13previous_channel_id\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x12\n\nproof_init\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"F\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"\xe3\x01\n\x11MsgChannelOpenAck\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x1f\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_version\x18\x04 \x01(\t\x12\x11\n\tproof_try\x18\x05 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1b\n\x19MsgChannelOpenAckResponse\"\xa8\x01\n\x15MsgChannelOpenConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x11\n\tproof_ack\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"[\n\x13MsgChannelCloseInit\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xaa\x01\n\x16MsgChannelCloseConfirm\x12\x0f\n\x07port_id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\nproof_init\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\" \n\x1eMsgChannelCloseConfirmResponse\"\xb5\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_commitment\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x01\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x04 \x01(\x04\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xea\x01\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x18\n\x10proof_unreceived\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_close\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x1a\n\x12next_sequence_recv\x18\x05 \x01(\x04\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12\x13\n\x0bproof_acked\x18\x03 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xb6\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponse\x1a\x05\x80\xe7\xb0*\x01\x42;Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cibc/core/channel/v1/tx.proto\x12\x13ibc.core.channel.v1\x1a\x14gogoproto/gogo.proto\x1a\x1fibc/core/client/v1/client.proto\x1a!ibc/core/channel/v1/channel.proto\"\x88\x01\n\x12MsgChannelOpenInit\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12\x33\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"X\n\x1aMsgChannelOpenInitResponse\x12)\n\nchannel_id\x18\x01 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0f\n\x07version\x18\x02 \x01(\t\"\xff\x02\n\x11MsgChannelOpenTry\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12=\n\x13previous_channel_id\x18\x02 \x01(\tB \x18\x01\xf2\xde\x1f\x1ayaml:\"previous_channel_id\"\x12\x33\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x1c.ibc.core.channel.v1.ChannelB\x04\xc8\xde\x1f\x00\x12=\n\x14\x63ounterparty_version\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"counterparty_version\"\x12)\n\nproof_init\x18\x05 \x01(\x0c\x42\x15\xf2\xde\x1f\x11yaml:\"proof_init\"\x12M\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"W\n\x19MsgChannelOpenTryResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\"\xf9\x02\n\x11MsgChannelOpenAck\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x43\n\x17\x63ounterparty_channel_id\x18\x03 \x01(\tB\"\xf2\xde\x1f\x1eyaml:\"counterparty_channel_id\"\x12=\n\x14\x63ounterparty_version\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"counterparty_version\"\x12\'\n\tproof_try\x18\x05 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"proof_try\"\x12M\n\x0cproof_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x07 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1b\n\x19MsgChannelOpenAckResponse\"\xf9\x01\n\x15MsgChannelOpenConfirm\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\'\n\tproof_ack\x18\x03 \x01(\x0c\x42\x14\xf2\xde\x1f\x10yaml:\"proof_ack\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1f\n\x1dMsgChannelOpenConfirmResponse\"\x7f\n\x13MsgChannelCloseInit\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1d\n\x1bMsgChannelCloseInitResponse\"\xfc\x01\n\x16MsgChannelCloseConfirm\x12#\n\x07port_id\x18\x01 \x01(\tB\x12\xf2\xde\x1f\x0eyaml:\"port_id\"\x12)\n\nchannel_id\x18\x02 \x01(\tB\x15\xf2\xde\x1f\x11yaml:\"channel_id\"\x12)\n\nproof_init\x18\x03 \x01(\x0c\x42\x15\xf2\xde\x1f\x11yaml:\"proof_init\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\" \n\x1eMsgChannelCloseConfirmResponse\"\xe2\x01\n\rMsgRecvPacket\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x35\n\x10proof_commitment\x18\x02 \x01(\x0c\x42\x1b\xf2\xde\x1f\x17yaml:\"proof_commitment\"\x12M\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"V\n\x15MsgRecvPacketResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\x9a\x02\n\nMsgTimeout\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x35\n\x10proof_unreceived\x18\x02 \x01(\x0c\x42\x1b\xf2\xde\x1f\x17yaml:\"proof_unreceived\"\x12M\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x39\n\x12next_sequence_recv\x18\x04 \x01(\x04\x42\x1d\xf2\xde\x1f\x19yaml:\"next_sequence_recv\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"S\n\x12MsgTimeoutResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xce\x02\n\x11MsgTimeoutOnClose\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x35\n\x10proof_unreceived\x18\x02 \x01(\x0c\x42\x1b\xf2\xde\x1f\x17yaml:\"proof_unreceived\"\x12+\n\x0bproof_close\x18\x03 \x01(\x0c\x42\x16\xf2\xde\x1f\x12yaml:\"proof_close\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x39\n\x12next_sequence_recv\x18\x05 \x01(\x04\x42\x1d\xf2\xde\x1f\x19yaml:\"next_sequence_recv\"\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"Z\n\x19MsgTimeoutOnCloseResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00\"\xf6\x01\n\x12MsgAcknowledgement\x12\x31\n\x06packet\x18\x01 \x01(\x0b\x32\x1b.ibc.core.channel.v1.PacketB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\x12+\n\x0bproof_acked\x18\x03 \x01(\x0c\x42\x16\xf2\xde\x1f\x12yaml:\"proof_acked\"\x12M\n\x0cproof_height\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1b\xc8\xde\x1f\x00\xf2\xde\x1f\x13yaml:\"proof_height\"\x12\x0e\n\x06signer\x18\x05 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"[\n\x1aMsgAcknowledgementResponse\x12\x37\n\x06result\x18\x01 \x01(\x0e\x32\'.ibc.core.channel.v1.ResponseResultType:\x04\x88\xa0\x1f\x00*\xa9\x01\n\x12ResponseResultType\x12\x35\n RESPONSE_RESULT_TYPE_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\'\n\x19RESPONSE_RESULT_TYPE_NOOP\x10\x01\x1a\x08\x8a\x9d \x04NOOP\x12-\n\x1cRESPONSE_RESULT_TYPE_SUCCESS\x10\x02\x1a\x0b\x8a\x9d \x07SUCCESS\x1a\x04\x88\xa3\x1e\x00\x32\xaf\x08\n\x03Msg\x12k\n\x0f\x43hannelOpenInit\x12\'.ibc.core.channel.v1.MsgChannelOpenInit\x1a/.ibc.core.channel.v1.MsgChannelOpenInitResponse\x12h\n\x0e\x43hannelOpenTry\x12&.ibc.core.channel.v1.MsgChannelOpenTry\x1a..ibc.core.channel.v1.MsgChannelOpenTryResponse\x12h\n\x0e\x43hannelOpenAck\x12&.ibc.core.channel.v1.MsgChannelOpenAck\x1a..ibc.core.channel.v1.MsgChannelOpenAckResponse\x12t\n\x12\x43hannelOpenConfirm\x12*.ibc.core.channel.v1.MsgChannelOpenConfirm\x1a\x32.ibc.core.channel.v1.MsgChannelOpenConfirmResponse\x12n\n\x10\x43hannelCloseInit\x12(.ibc.core.channel.v1.MsgChannelCloseInit\x1a\x30.ibc.core.channel.v1.MsgChannelCloseInitResponse\x12w\n\x13\x43hannelCloseConfirm\x12+.ibc.core.channel.v1.MsgChannelCloseConfirm\x1a\x33.ibc.core.channel.v1.MsgChannelCloseConfirmResponse\x12\\\n\nRecvPacket\x12\".ibc.core.channel.v1.MsgRecvPacket\x1a*.ibc.core.channel.v1.MsgRecvPacketResponse\x12S\n\x07Timeout\x12\x1f.ibc.core.channel.v1.MsgTimeout\x1a\'.ibc.core.channel.v1.MsgTimeoutResponse\x12h\n\x0eTimeoutOnClose\x12&.ibc.core.channel.v1.MsgTimeoutOnClose\x1a..ibc.core.channel.v1.MsgTimeoutOnCloseResponse\x12k\n\x0f\x41\x63knowledgement\x12\'.ibc.core.channel.v1.MsgAcknowledgement\x1a/.ibc.core.channel.v1.MsgAcknowledgementResponseB;Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,7 +24,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v8/modules/core/04-channel/types' + DESCRIPTOR._serialized_options = b'Z9github.com/cosmos/ibc-go/v7/modules/core/04-channel/types' _RESPONSERESULTTYPE._options = None _RESPONSERESULTTYPE._serialized_options = b'\210\243\036\000' _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_UNSPECIFIED"]._options = None @@ -34,112 +33,158 @@ _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_NOOP"]._serialized_options = b'\212\235 \004NOOP' _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._options = None _RESPONSERESULTTYPE.values_by_name["RESPONSE_RESULT_TYPE_SUCCESS"]._serialized_options = b'\212\235 \007SUCCESS' + _MSGCHANNELOPENINIT.fields_by_name['port_id']._options = None + _MSGCHANNELOPENINIT.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' _MSGCHANNELOPENINIT.fields_by_name['channel']._options = None _MSGCHANNELOPENINIT.fields_by_name['channel']._serialized_options = b'\310\336\037\000' _MSGCHANNELOPENINIT._options = None - _MSGCHANNELOPENINIT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSGCHANNELOPENINITRESPONSE._options = None - _MSGCHANNELOPENINITRESPONSE._serialized_options = b'\210\240\037\000' + _MSGCHANNELOPENINIT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELOPENINITRESPONSE.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENINITRESPONSE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENTRY.fields_by_name['port_id']._options = None + _MSGCHANNELOPENTRY.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._options = None - _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._serialized_options = b'\030\001' + _MSGCHANNELOPENTRY.fields_by_name['previous_channel_id']._serialized_options = b'\030\001\362\336\037\032yaml:\"previous_channel_id\"' _MSGCHANNELOPENTRY.fields_by_name['channel']._options = None _MSGCHANNELOPENTRY.fields_by_name['channel']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENTRY.fields_by_name['counterparty_version']._options = None + _MSGCHANNELOPENTRY.fields_by_name['counterparty_version']._serialized_options = b'\362\336\037\033yaml:\"counterparty_version\"' + _MSGCHANNELOPENTRY.fields_by_name['proof_init']._options = None + _MSGCHANNELOPENTRY.fields_by_name['proof_init']._serialized_options = b'\362\336\037\021yaml:\"proof_init\"' _MSGCHANNELOPENTRY.fields_by_name['proof_height']._options = None - _MSGCHANNELOPENTRY.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENTRY.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELOPENTRY._options = None - _MSGCHANNELOPENTRY._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSGCHANNELOPENTRYRESPONSE._options = None - _MSGCHANNELOPENTRYRESPONSE._serialized_options = b'\210\240\037\000' + _MSGCHANNELOPENTRY._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELOPENTRYRESPONSE.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENTRYRESPONSE.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENACK.fields_by_name['port_id']._options = None + _MSGCHANNELOPENACK.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELOPENACK.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENACK.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENACK.fields_by_name['counterparty_channel_id']._options = None + _MSGCHANNELOPENACK.fields_by_name['counterparty_channel_id']._serialized_options = b'\362\336\037\036yaml:\"counterparty_channel_id\"' + _MSGCHANNELOPENACK.fields_by_name['counterparty_version']._options = None + _MSGCHANNELOPENACK.fields_by_name['counterparty_version']._serialized_options = b'\362\336\037\033yaml:\"counterparty_version\"' + _MSGCHANNELOPENACK.fields_by_name['proof_try']._options = None + _MSGCHANNELOPENACK.fields_by_name['proof_try']._serialized_options = b'\362\336\037\020yaml:\"proof_try\"' _MSGCHANNELOPENACK.fields_by_name['proof_height']._options = None - _MSGCHANNELOPENACK.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENACK.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELOPENACK._options = None - _MSGCHANNELOPENACK._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELOPENACK._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELOPENCONFIRM.fields_by_name['port_id']._options = None + _MSGCHANNELOPENCONFIRM.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELOPENCONFIRM.fields_by_name['channel_id']._options = None + _MSGCHANNELOPENCONFIRM.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELOPENCONFIRM.fields_by_name['proof_ack']._options = None + _MSGCHANNELOPENCONFIRM.fields_by_name['proof_ack']._serialized_options = b'\362\336\037\020yaml:\"proof_ack\"' _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._options = None - _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELOPENCONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELOPENCONFIRM._options = None - _MSGCHANNELOPENCONFIRM._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELOPENCONFIRM._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELCLOSEINIT.fields_by_name['port_id']._options = None + _MSGCHANNELCLOSEINIT.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELCLOSEINIT.fields_by_name['channel_id']._options = None + _MSGCHANNELCLOSEINIT.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' _MSGCHANNELCLOSEINIT._options = None - _MSGCHANNELCLOSEINIT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELCLOSEINIT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGCHANNELCLOSECONFIRM.fields_by_name['port_id']._options = None + _MSGCHANNELCLOSECONFIRM.fields_by_name['port_id']._serialized_options = b'\362\336\037\016yaml:\"port_id\"' + _MSGCHANNELCLOSECONFIRM.fields_by_name['channel_id']._options = None + _MSGCHANNELCLOSECONFIRM.fields_by_name['channel_id']._serialized_options = b'\362\336\037\021yaml:\"channel_id\"' + _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_init']._options = None + _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_init']._serialized_options = b'\362\336\037\021yaml:\"proof_init\"' _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._options = None - _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGCHANNELCLOSECONFIRM.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGCHANNELCLOSECONFIRM._options = None - _MSGCHANNELCLOSECONFIRM._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCHANNELCLOSECONFIRM._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGRECVPACKET.fields_by_name['packet']._options = None _MSGRECVPACKET.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGRECVPACKET.fields_by_name['proof_commitment']._options = None + _MSGRECVPACKET.fields_by_name['proof_commitment']._serialized_options = b'\362\336\037\027yaml:\"proof_commitment\"' _MSGRECVPACKET.fields_by_name['proof_height']._options = None - _MSGRECVPACKET.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGRECVPACKET.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGRECVPACKET._options = None - _MSGRECVPACKET._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGRECVPACKET._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGRECVPACKETRESPONSE._options = None _MSGRECVPACKETRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUT.fields_by_name['packet']._options = None _MSGTIMEOUT.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUT.fields_by_name['proof_unreceived']._options = None + _MSGTIMEOUT.fields_by_name['proof_unreceived']._serialized_options = b'\362\336\037\027yaml:\"proof_unreceived\"' _MSGTIMEOUT.fields_by_name['proof_height']._options = None - _MSGTIMEOUT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' + _MSGTIMEOUT.fields_by_name['next_sequence_recv']._options = None + _MSGTIMEOUT.fields_by_name['next_sequence_recv']._serialized_options = b'\362\336\037\031yaml:\"next_sequence_recv\"' _MSGTIMEOUT._options = None - _MSGTIMEOUT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGTIMEOUT._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGTIMEOUTRESPONSE._options = None _MSGTIMEOUTRESPONSE._serialized_options = b'\210\240\037\000' _MSGTIMEOUTONCLOSE.fields_by_name['packet']._options = None _MSGTIMEOUTONCLOSE.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUTONCLOSE.fields_by_name['proof_unreceived']._options = None + _MSGTIMEOUTONCLOSE.fields_by_name['proof_unreceived']._serialized_options = b'\362\336\037\027yaml:\"proof_unreceived\"' + _MSGTIMEOUTONCLOSE.fields_by_name['proof_close']._options = None + _MSGTIMEOUTONCLOSE.fields_by_name['proof_close']._serialized_options = b'\362\336\037\022yaml:\"proof_close\"' _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._options = None - _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGTIMEOUTONCLOSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' + _MSGTIMEOUTONCLOSE.fields_by_name['next_sequence_recv']._options = None + _MSGTIMEOUTONCLOSE.fields_by_name['next_sequence_recv']._serialized_options = b'\362\336\037\031yaml:\"next_sequence_recv\"' _MSGTIMEOUTONCLOSE._options = None - _MSGTIMEOUTONCLOSE._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGTIMEOUTONCLOSE._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGTIMEOUTONCLOSERESPONSE._options = None _MSGTIMEOUTONCLOSERESPONSE._serialized_options = b'\210\240\037\000' _MSGACKNOWLEDGEMENT.fields_by_name['packet']._options = None _MSGACKNOWLEDGEMENT.fields_by_name['packet']._serialized_options = b'\310\336\037\000' + _MSGACKNOWLEDGEMENT.fields_by_name['proof_acked']._options = None + _MSGACKNOWLEDGEMENT.fields_by_name['proof_acked']._serialized_options = b'\362\336\037\022yaml:\"proof_acked\"' _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._options = None - _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' + _MSGACKNOWLEDGEMENT.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000\362\336\037\023yaml:\"proof_height\"' _MSGACKNOWLEDGEMENT._options = None - _MSGACKNOWLEDGEMENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGACKNOWLEDGEMENT._serialized_options = b'\210\240\037\000\350\240\037\000' _MSGACKNOWLEDGEMENTRESPONSE._options = None _MSGACKNOWLEDGEMENTRESPONSE._serialized_options = b'\210\240\037\000' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_RESPONSERESULTTYPE']._serialized_start=2694 - _globals['_RESPONSERESULTTYPE']._serialized_end=2863 - _globals['_MSGCHANNELOPENINIT']._serialized_start=168 - _globals['_MSGCHANNELOPENINIT']._serialized_end=291 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=293 - _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=364 - _globals['_MSGCHANNELOPENTRY']._serialized_start=367 - _globals['_MSGCHANNELOPENTRY']._serialized_end=628 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=630 - _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=700 - _globals['_MSGCHANNELOPENACK']._serialized_start=703 - _globals['_MSGCHANNELOPENACK']._serialized_end=930 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=932 - _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=959 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=962 - _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1130 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1132 - _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1163 - _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1165 - _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1256 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1258 - _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1287 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1290 - _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1460 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1462 - _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1494 - _globals['_MSGRECVPACKET']._serialized_start=1497 - _globals['_MSGRECVPACKET']._serialized_end=1678 - _globals['_MSGRECVPACKETRESPONSE']._serialized_start=1680 - _globals['_MSGRECVPACKETRESPONSE']._serialized_end=1766 - _globals['_MSGTIMEOUT']._serialized_start=1769 - _globals['_MSGTIMEOUT']._serialized_end=1975 - _globals['_MSGTIMEOUTRESPONSE']._serialized_start=1977 - _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2060 - _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2063 - _globals['_MSGTIMEOUTONCLOSE']._serialized_end=2297 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=2299 - _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=2389 - _globals['_MSGACKNOWLEDGEMENT']._serialized_start=2392 - _globals['_MSGACKNOWLEDGEMENT']._serialized_end=2598 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=2600 - _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=2691 - _globals['_MSG']._serialized_start=2866 - _globals['_MSG']._serialized_end=3944 + _globals['_RESPONSERESULTTYPE']._serialized_start=3449 + _globals['_RESPONSERESULTTYPE']._serialized_end=3618 + _globals['_MSGCHANNELOPENINIT']._serialized_start=144 + _globals['_MSGCHANNELOPENINIT']._serialized_end=280 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_start=282 + _globals['_MSGCHANNELOPENINITRESPONSE']._serialized_end=370 + _globals['_MSGCHANNELOPENTRY']._serialized_start=373 + _globals['_MSGCHANNELOPENTRY']._serialized_end=756 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_start=758 + _globals['_MSGCHANNELOPENTRYRESPONSE']._serialized_end=845 + _globals['_MSGCHANNELOPENACK']._serialized_start=848 + _globals['_MSGCHANNELOPENACK']._serialized_end=1225 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_start=1227 + _globals['_MSGCHANNELOPENACKRESPONSE']._serialized_end=1254 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_start=1257 + _globals['_MSGCHANNELOPENCONFIRM']._serialized_end=1506 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_start=1508 + _globals['_MSGCHANNELOPENCONFIRMRESPONSE']._serialized_end=1539 + _globals['_MSGCHANNELCLOSEINIT']._serialized_start=1541 + _globals['_MSGCHANNELCLOSEINIT']._serialized_end=1668 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_start=1670 + _globals['_MSGCHANNELCLOSEINITRESPONSE']._serialized_end=1699 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_start=1702 + _globals['_MSGCHANNELCLOSECONFIRM']._serialized_end=1954 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_start=1956 + _globals['_MSGCHANNELCLOSECONFIRMRESPONSE']._serialized_end=1988 + _globals['_MSGRECVPACKET']._serialized_start=1991 + _globals['_MSGRECVPACKET']._serialized_end=2217 + _globals['_MSGRECVPACKETRESPONSE']._serialized_start=2219 + _globals['_MSGRECVPACKETRESPONSE']._serialized_end=2305 + _globals['_MSGTIMEOUT']._serialized_start=2308 + _globals['_MSGTIMEOUT']._serialized_end=2590 + _globals['_MSGTIMEOUTRESPONSE']._serialized_start=2592 + _globals['_MSGTIMEOUTRESPONSE']._serialized_end=2675 + _globals['_MSGTIMEOUTONCLOSE']._serialized_start=2678 + _globals['_MSGTIMEOUTONCLOSE']._serialized_end=3012 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_start=3014 + _globals['_MSGTIMEOUTONCLOSERESPONSE']._serialized_end=3104 + _globals['_MSGACKNOWLEDGEMENT']._serialized_start=3107 + _globals['_MSGACKNOWLEDGEMENT']._serialized_end=3353 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_start=3355 + _globals['_MSGACKNOWLEDGEMENTRESPONSE']._serialized_end=3446 + _globals['_MSG']._serialized_start=3621 + _globals['_MSG']._serialized_end=4692 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/client_pb2.py b/pyinjective/proto/ibc/core/client/v1/client_pb2.py index e6e836cd..4fe05b02 100644 --- a/pyinjective/proto/ibc/core/client/v1/client_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/client_pb2.py @@ -11,13 +11,13 @@ _sym_db = _symbol_database.Default() -from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 -from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"V\n\x15IdentifiedClientState\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"{\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\"x\n\x15\x43lientConsensusStates\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12L\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\"D\n\x06Height\x12\x17\n\x0frevision_number\x18\x01 \x01(\x04\x12\x17\n\x0frevision_height\x18\x02 \x01(\x04:\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"!\n\x06Params\x12\x17\n\x0f\x61llowed_clients\x18\x01 \x03(\t\"\xd8\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"\x12=\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\":$\x18\x01\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xec\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12U\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\":,\x18\x01\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.ContentB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/client/v1/client.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x19\x63osmos_proto/cosmos.proto\"\x85\x01\n\x15IdentifiedClientState\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\x43\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\"\"\x97\x01\n\x18\x43onsensusStateWithHeight\x12\x30\n\x06height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12I\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\"\xa9\x01\n\x15\x43lientConsensusStates\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12g\n\x10\x63onsensus_states\x18\x02 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x1f\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"consensus_states\"\"\xd6\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\x11subject_client_id\x18\x03 \x01(\tB\x1c\xf2\xde\x1f\x18yaml:\"subject_client_id\"\x12=\n\x14substitute_client_id\x18\x04 \x01(\tB\x1f\xf2\xde\x1f\x1byaml:\"substitute_client_id\":\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xea\x01\n\x0fUpgradeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x30\n\x04plan\x18\x03 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12U\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB \xf2\xde\x1f\x1cyaml:\"upgraded_client_state\":*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"|\n\x06Height\x12\x33\n\x0frevision_number\x18\x01 \x01(\x04\x42\x1a\xf2\xde\x1f\x16yaml:\"revision_number\"\x12\x33\n\x0frevision_height\x18\x02 \x01(\x04\x42\x1a\xf2\xde\x1f\x16yaml:\"revision_height\":\x08\x88\xa0\x1f\x00\x98\xa0\x1f\x00\"=\n\x06Params\x12\x33\n\x0f\x61llowed_clients\x18\x01 \x03(\tB\x1a\xf2\xde\x1f\x16yaml:\"allowed_clients\"B:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,37 +25,51 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_id']._options = None + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_state']._options = None + _IDENTIFIEDCLIENTSTATE.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._options = None _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._serialized_options = b'\310\336\037\000' + _CONSENSUSSTATEWITHHEIGHT.fields_by_name['consensus_state']._options = None + _CONSENSUSSTATEWITHHEIGHT.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' + _CLIENTCONSENSUSSTATES.fields_by_name['client_id']._options = None + _CLIENTCONSENSUSSTATES.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._options = None - _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000' - _HEIGHT._options = None - _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _CLIENTCONSENSUSSTATES.fields_by_name['consensus_states']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"consensus_states\"' _CLIENTUPDATEPROPOSAL.fields_by_name['subject_client_id']._options = None _CLIENTUPDATEPROPOSAL.fields_by_name['subject_client_id']._serialized_options = b'\362\336\037\030yaml:\"subject_client_id\"' _CLIENTUPDATEPROPOSAL.fields_by_name['substitute_client_id']._options = None _CLIENTUPDATEPROPOSAL.fields_by_name['substitute_client_id']._serialized_options = b'\362\336\037\033yaml:\"substitute_client_id\"' _CLIENTUPDATEPROPOSAL._options = None - _CLIENTUPDATEPROPOSAL._serialized_options = b'\030\001\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CLIENTUPDATEPROPOSAL._serialized_options = b'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' _UPGRADEPROPOSAL.fields_by_name['plan']._options = None _UPGRADEPROPOSAL.fields_by_name['plan']._serialized_options = b'\310\336\037\000' _UPGRADEPROPOSAL.fields_by_name['upgraded_client_state']._options = None _UPGRADEPROPOSAL.fields_by_name['upgraded_client_state']._serialized_options = b'\362\336\037\034yaml:\"upgraded_client_state\"' _UPGRADEPROPOSAL._options = None - _UPGRADEPROPOSAL._serialized_options = b'\030\001\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' - _globals['_IDENTIFIEDCLIENTSTATE']._serialized_start=169 - _globals['_IDENTIFIEDCLIENTSTATE']._serialized_end=255 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=257 - _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=380 - _globals['_CLIENTCONSENSUSSTATES']._serialized_start=382 - _globals['_CLIENTCONSENSUSSTATES']._serialized_end=502 - _globals['_HEIGHT']._serialized_start=504 - _globals['_HEIGHT']._serialized_end=572 - _globals['_PARAMS']._serialized_start=574 - _globals['_PARAMS']._serialized_end=607 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=610 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=826 - _globals['_UPGRADEPROPOSAL']._serialized_start=829 - _globals['_UPGRADEPROPOSAL']._serialized_end=1065 + _UPGRADEPROPOSAL._serialized_options = b'\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' + _HEIGHT.fields_by_name['revision_number']._options = None + _HEIGHT.fields_by_name['revision_number']._serialized_options = b'\362\336\037\026yaml:\"revision_number\"' + _HEIGHT.fields_by_name['revision_height']._options = None + _HEIGHT.fields_by_name['revision_height']._serialized_options = b'\362\336\037\026yaml:\"revision_height\"' + _HEIGHT._options = None + _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _PARAMS.fields_by_name['allowed_clients']._options = None + _PARAMS.fields_by_name['allowed_clients']._serialized_options = b'\362\336\037\026yaml:\"allowed_clients\"' + _globals['_IDENTIFIEDCLIENTSTATE']._serialized_start=170 + _globals['_IDENTIFIEDCLIENTSTATE']._serialized_end=303 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_start=306 + _globals['_CONSENSUSSTATEWITHHEIGHT']._serialized_end=457 + _globals['_CLIENTCONSENSUSSTATES']._serialized_start=460 + _globals['_CLIENTCONSENSUSSTATES']._serialized_end=629 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_start=632 + _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=846 + _globals['_UPGRADEPROPOSAL']._serialized_start=849 + _globals['_UPGRADEPROPOSAL']._serialized_end=1083 + _globals['_HEIGHT']._serialized_start=1085 + _globals['_HEIGHT']._serialized_end=1209 + _globals['_PARAMS']._serialized_start=1211 + _globals['_PARAMS']._serialized_end=1272 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py index 26f63a9e..a334463d 100644 --- a/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/genesis_pb2.py @@ -15,7 +15,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\x8d\x03\n\x0cGenesisState\x12Z\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12\x64\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16\x43lientsConsensusStates\x12M\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x04\xc8\xde\x1f\x00\x12\x30\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x1c\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x14next_client_sequence\x18\x06 \x01(\x04\"3\n\x0fGenesisMetadata\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c:\x04\x88\xa0\x1f\x00\"r\n\x19IdentifiedGenesisMetadata\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x42\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x04\xc8\xde\x1f\x00\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ibc/core/client/v1/genesis.proto\x12\x12ibc.core.client.v1\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"\xff\x03\n\x0cGenesisState\x12Z\n\x07\x63lients\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12\x80\x01\n\x11\x63lients_consensus\x18\x02 \x03(\x0b\x32).ibc.core.client.v1.ClientConsensusStatesB:\xc8\xde\x1f\x00\xf2\xde\x1f\x18yaml:\"clients_consensus\"\xaa\xdf\x1f\x16\x43lientsConsensusStates\x12h\n\x10\x63lients_metadata\x18\x03 \x03(\x0b\x32-.ibc.core.client.v1.IdentifiedGenesisMetadataB\x1f\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"clients_metadata\"\x12\x30\n\x06params\x18\x04 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00\x12\x35\n\x10\x63reate_localhost\x18\x05 \x01(\x08\x42\x1b\xf2\xde\x1f\x17yaml:\"create_localhost\"\x12=\n\x14next_client_sequence\x18\x06 \x01(\x04\x42\x1f\xf2\xde\x1f\x1byaml:\"next_client_sequence\"\"3\n\x0fGenesisMetadata\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\xa2\x01\n\x19IdentifiedGenesisMetadata\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\\\n\x0f\x63lient_metadata\x18\x02 \x03(\x0b\x32#.ibc.core.client.v1.GenesisMetadataB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"client_metadata\"B:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,25 +23,29 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' _GENESISSTATE.fields_by_name['clients']._options = None _GENESISSTATE.fields_by_name['clients']._serialized_options = b'\310\336\037\000\252\337\037\026IdentifiedClientStates' _GENESISSTATE.fields_by_name['clients_consensus']._options = None - _GENESISSTATE.fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\252\337\037\026ClientsConsensusStates' + _GENESISSTATE.fields_by_name['clients_consensus']._serialized_options = b'\310\336\037\000\362\336\037\030yaml:\"clients_consensus\"\252\337\037\026ClientsConsensusStates' _GENESISSTATE.fields_by_name['clients_metadata']._options = None - _GENESISSTATE.fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['clients_metadata']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"clients_metadata\"' _GENESISSTATE.fields_by_name['params']._options = None _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' _GENESISSTATE.fields_by_name['create_localhost']._options = None - _GENESISSTATE.fields_by_name['create_localhost']._serialized_options = b'\030\001' + _GENESISSTATE.fields_by_name['create_localhost']._serialized_options = b'\362\336\037\027yaml:\"create_localhost\"' + _GENESISSTATE.fields_by_name['next_client_sequence']._options = None + _GENESISSTATE.fields_by_name['next_client_sequence']._serialized_options = b'\362\336\037\033yaml:\"next_client_sequence\"' _GENESISMETADATA._options = None _GENESISMETADATA._serialized_options = b'\210\240\037\000' + _IDENTIFIEDGENESISMETADATA.fields_by_name['client_id']._options = None + _IDENTIFIEDGENESISMETADATA.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._options = None - _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000' + _IDENTIFIEDGENESISMETADATA.fields_by_name['client_metadata']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"client_metadata\"' _globals['_GENESISSTATE']._serialized_start=112 - _globals['_GENESISSTATE']._serialized_end=509 - _globals['_GENESISMETADATA']._serialized_start=511 - _globals['_GENESISMETADATA']._serialized_end=562 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=564 - _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=678 + _globals['_GENESISSTATE']._serialized_end=623 + _globals['_GENESISMETADATA']._serialized_start=625 + _globals['_GENESISMETADATA']._serialized_end=676 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_start=679 + _globals['_IDENTIFIEDGENESISMETADATA']._serialized_end=841 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/query_pb2.py b/pyinjective/proto/ibc/core/client/v1/query_pb2.py index 942dbf5b..f9180f2e 100644 --- a/pyinjective/proto/ibc/core/client/v1/query_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/query_pb2.py @@ -18,7 +18,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\",\n\x17QueryClientStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"\x8d\x01\n\x18QueryClientStateResponse\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"V\n\x18QueryClientStatesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xba\x01\n\x19QueryClientStatesResponse\x12`\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"x\n\x1aQueryConsensusStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04\x12\x15\n\rlatest_height\x18\x04 \x01(\x08\"\x93\x01\n\x1bQueryConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"l\n\x1bQueryConsensusStatesRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa9\x01\n\x1cQueryConsensusStatesResponse\x12L\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"r\n!QueryConsensusStateHeightsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa4\x01\n\"QueryConsensusStateHeightsResponse\x12\x41\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"-\n\x18QueryClientStatusRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"+\n\x19QueryClientStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x1a\n\x18QueryClientParamsRequest\"G\n\x19QueryClientParamsResponse\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.Params\"!\n\x1fQueryUpgradedClientStateRequest\"W\n QueryUpgradedClientStateResponse\x12\x33\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"$\n\"QueryUpgradedConsensusStateRequest\"]\n#QueryUpgradedConsensusStateResponse\x12\x36\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any2\xd1\x0c\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_statesB:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eibc/core/client/v1/query.proto\x12\x12ibc.core.client.v1\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x14gogoproto/gogo.proto\",\n\x17QueryClientStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"\x8d\x01\n\x18QueryClientStateResponse\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"V\n\x18QueryClientStatesRequest\x12:\n\npagination\x18\x01 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xba\x01\n\x19QueryClientStatesResponse\x12`\n\rclient_states\x18\x01 \x03(\x0b\x32).ibc.core.client.v1.IdentifiedClientStateB\x1e\xc8\xde\x1f\x00\xaa\xdf\x1f\x16IdentifiedClientStates\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"x\n\x1aQueryConsensusStateRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x17\n\x0frevision_number\x18\x02 \x01(\x04\x12\x17\n\x0frevision_height\x18\x03 \x01(\x04\x12\x15\n\rlatest_height\x18\x04 \x01(\x08\"\x93\x01\n\x1bQueryConsensusStateResponse\x12-\n\x0f\x63onsensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\r\n\x05proof\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\"l\n\x1bQueryConsensusStatesRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa9\x01\n\x1cQueryConsensusStatesResponse\x12L\n\x10\x63onsensus_states\x18\x01 \x03(\x0b\x32,.ibc.core.client.v1.ConsensusStateWithHeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"r\n!QueryConsensusStateHeightsRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12:\n\npagination\x18\x02 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\"\xa4\x01\n\"QueryConsensusStateHeightsResponse\x12\x41\n\x17\x63onsensus_state_heights\x18\x01 \x03(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"-\n\x18QueryClientStatusRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\"+\n\x19QueryClientStatusResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\x1a\n\x18QueryClientParamsRequest\"G\n\x19QueryClientParamsResponse\x12*\n\x06params\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.Params\"!\n\x1fQueryUpgradedClientStateRequest\"W\n QueryUpgradedClientStateResponse\x12\x33\n\x15upgraded_client_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\"$\n\"QueryUpgradedConsensusStateRequest\"]\n#QueryUpgradedConsensusStateResponse\x12\x36\n\x18upgraded_consensus_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any2\xd1\x0c\n\x05Query\x12\x9f\x01\n\x0b\x43lientState\x12+.ibc.core.client.v1.QueryClientStateRequest\x1a,.ibc.core.client.v1.QueryClientStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_states/{client_id}\x12\x96\x01\n\x0c\x43lientStates\x12,.ibc.core.client.v1.QueryClientStatesRequest\x1a-.ibc.core.client.v1.QueryClientStatesResponse\")\x82\xd3\xe4\x93\x02#\x12!/ibc/core/client/v1/client_states\x12\xdf\x01\n\x0e\x43onsensusState\x12..ibc.core.client.v1.QueryConsensusStateRequest\x1a/.ibc.core.client.v1.QueryConsensusStateResponse\"l\x82\xd3\xe4\x93\x02\x66\x12\x64/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}\x12\xae\x01\n\x0f\x43onsensusStates\x12/.ibc.core.client.v1.QueryConsensusStatesRequest\x1a\x30.ibc.core.client.v1.QueryConsensusStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/ibc/core/client/v1/consensus_states/{client_id}\x12\xc8\x01\n\x15\x43onsensusStateHeights\x12\x35.ibc.core.client.v1.QueryConsensusStateHeightsRequest\x1a\x36.ibc.core.client.v1.QueryConsensusStateHeightsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/ibc/core/client/v1/consensus_states/{client_id}/heights\x12\xa2\x01\n\x0c\x43lientStatus\x12,.ibc.core.client.v1.QueryClientStatusRequest\x1a-.ibc.core.client.v1.QueryClientStatusResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/client_status/{client_id}\x12\x8f\x01\n\x0c\x43lientParams\x12,.ibc.core.client.v1.QueryClientParamsRequest\x1a-.ibc.core.client.v1.QueryClientParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/ibc/core/client/v1/params\x12\xb4\x01\n\x13UpgradedClientState\x12\x33.ibc.core.client.v1.QueryUpgradedClientStateRequest\x1a\x34.ibc.core.client.v1.QueryUpgradedClientStateResponse\"2\x82\xd3\xe4\x93\x02,\x12*/ibc/core/client/v1/upgraded_client_states\x12\xc0\x01\n\x16UpgradedConsensusState\x12\x36.ibc.core.client.v1.QueryUpgradedConsensusStateRequest\x1a\x37.ibc.core.client.v1.QueryUpgradedConsensusStateResponse\"5\x82\xd3\xe4\x93\x02/\x12-/ibc/core/client/v1/upgraded_consensus_statesB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,7 +26,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._options = None _QUERYCLIENTSTATERESPONSE.fields_by_name['proof_height']._serialized_options = b'\310\336\037\000' _QUERYCLIENTSTATESRESPONSE.fields_by_name['client_states']._options = None diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 50fb6af7..ad4976d8 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -11,14 +11,11 @@ _sym_db = _symbol_database.Default() -from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 -from cosmos.upgrade.v1beta1 import upgrade_pb2 as cosmos_dot_upgrade_dot_v1beta1_dot_upgrade__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from ibc.core.client.v1 import client_pb2 as ibc_dot_core_dot_client_dot_v1_dot_client__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x17\x63osmos/msg/v1/msg.proto\x1a$cosmos/upgrade/v1beta1/upgrade.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1fibc/core/client/v1/client.proto\"\x8d\x01\n\x0fMsgCreateClient\x12*\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgCreateClientResponse\"s\n\x0fMsgUpdateClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateClientResponse\"\xe6\x01\n\x10MsgUpgradeClient\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12-\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1c\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x12%\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgUpgradeClientResponse\"y\n\x15MsgSubmitMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12*\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x11\x18\x01\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgSubmitMisbehaviourResponse\"l\n\x10MsgRecoverClient\x12\x19\n\x11subject_client_id\x18\x01 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x02 \x01(\t\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1a\n\x18MsgRecoverClientResponse\"\x9b\x01\n\x15MsgIBCSoftwareUpgrade\x12\x30\n\x04plan\x18\x01 \x01(\x0b\x32\x1c.cosmos.upgrade.v1beta1.PlanB\x04\xc8\xde\x1f\x00\x12\x33\n\x15upgraded_client_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x0b\x82\xe7\xb0*\x06signer\"\x1f\n\x1dMsgIBCSoftwareUpgradeResponse\"d\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.ibc.core.client.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xea\x05\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponse\x12\x63\n\rRecoverClient\x12$.ibc.core.client.v1.MsgRecoverClient\x1a,.ibc.core.client.v1.MsgRecoverClientResponse\x12r\n\x12IBCSoftwareUpgrade\x12).ibc.core.client.v1.MsgIBCSoftwareUpgrade\x1a\x31.ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse\x12\x66\n\x12UpdateClientParams\x12#.ibc.core.client.v1.MsgUpdateParams\x1a+.ibc.core.client.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42:Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bibc/core/client/v1/tx.proto\x12\x12ibc.core.client.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xbb\x01\n\x0fMsgCreateClient\x12\x43\n\x0c\x63lient_state\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\"\x12I\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x19\n\x17MsgCreateClientResponse\"\x82\x01\n\x0fMsgUpdateClient\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12,\n\x0e\x63lient_message\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06signer\x18\x03 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x19\n\x17MsgUpdateClientResponse\"\xf5\x02\n\x10MsgUpgradeClient\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\x43\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\"\x12I\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\x12=\n\x14proof_upgrade_client\x18\x04 \x01(\x0c\x42\x1f\xf2\xde\x1f\x1byaml:\"proof_upgrade_client\"\x12O\n\x1dproof_upgrade_consensus_state\x18\x05 \x01(\x0c\x42(\xf2\xde\x1f$yaml:\"proof_upgrade_consensus_state\"\x12\x0e\n\x06signer\x18\x06 \x01(\t:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1a\n\x18MsgUpgradeClientResponse\"\x90\x01\n\x15MsgSubmitMisbehaviour\x12)\n\tclient_id\x18\x01 \x01(\tB\x16\x18\x01\xf2\xde\x1f\x10yaml:\"client_id\"\x12.\n\x0cmisbehaviour\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01\x12\x12\n\x06signer\x18\x03 \x01(\tB\x02\x18\x01:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x1f\n\x1dMsgSubmitMisbehaviourResponse2\xa2\x03\n\x03Msg\x12`\n\x0c\x43reateClient\x12#.ibc.core.client.v1.MsgCreateClient\x1a+.ibc.core.client.v1.MsgCreateClientResponse\x12`\n\x0cUpdateClient\x12#.ibc.core.client.v1.MsgUpdateClient\x1a+.ibc.core.client.v1.MsgUpdateClientResponse\x12\x63\n\rUpgradeClient\x12$.ibc.core.client.v1.MsgUpgradeClient\x1a,.ibc.core.client.v1.MsgUpgradeClientResponse\x12r\n\x12SubmitMisbehaviour\x12).ibc.core.client.v1.MsgSubmitMisbehaviour\x1a\x31.ibc.core.client.v1.MsgSubmitMisbehaviourResponseB:Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,55 +23,53 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v8/modules/core/02-client/types' + DESCRIPTOR._serialized_options = b'Z8github.com/cosmos/ibc-go/v7/modules/core/02-client/types' + _MSGCREATECLIENT.fields_by_name['client_state']._options = None + _MSGCREATECLIENT.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' + _MSGCREATECLIENT.fields_by_name['consensus_state']._options = None + _MSGCREATECLIENT.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' _MSGCREATECLIENT._options = None - _MSGCREATECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGCREATECLIENT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGUPDATECLIENT.fields_by_name['client_id']._options = None + _MSGUPDATECLIENT.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' _MSGUPDATECLIENT._options = None - _MSGUPDATECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGUPDATECLIENT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGUPGRADECLIENT.fields_by_name['client_id']._options = None + _MSGUPGRADECLIENT.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' + _MSGUPGRADECLIENT.fields_by_name['client_state']._options = None + _MSGUPGRADECLIENT.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' + _MSGUPGRADECLIENT.fields_by_name['consensus_state']._options = None + _MSGUPGRADECLIENT.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_client']._options = None + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_client']._serialized_options = b'\362\336\037\033yaml:\"proof_upgrade_client\"' + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_consensus_state']._options = None + _MSGUPGRADECLIENT.fields_by_name['proof_upgrade_consensus_state']._serialized_options = b'\362\336\037$yaml:\"proof_upgrade_consensus_state\"' _MSGUPGRADECLIENT._options = None - _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\350\240\037\000' + _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._options = None + _MSGSUBMITMISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001\362\336\037\020yaml:\"client_id\"' + _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._options = None + _MSGSUBMITMISBEHAVIOUR.fields_by_name['misbehaviour']._serialized_options = b'\030\001' + _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._options = None + _MSGSUBMITMISBEHAVIOUR.fields_by_name['signer']._serialized_options = b'\030\001' _MSGSUBMITMISBEHAVIOUR._options = None - _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\030\001\210\240\037\000\202\347\260*\006signer' - _MSGRECOVERCLIENT._options = None - _MSGRECOVERCLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSGIBCSOFTWAREUPGRADE.fields_by_name['plan']._options = None - _MSGIBCSOFTWAREUPGRADE.fields_by_name['plan']._serialized_options = b'\310\336\037\000' - _MSGIBCSOFTWAREUPGRADE._options = None - _MSGIBCSOFTWAREUPGRADE._serialized_options = b'\202\347\260*\006signer' - _MSGUPDATEPARAMS.fields_by_name['params']._options = None - _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' - _MSGUPDATEPARAMS._options = None - _MSGUPDATEPARAMS._serialized_options = b'\210\240\037\000\202\347\260*\006signer' - _MSG._options = None - _MSG._serialized_options = b'\200\347\260*\001' - _globals['_MSGCREATECLIENT']._serialized_start=197 - _globals['_MSGCREATECLIENT']._serialized_end=338 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=340 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=365 - _globals['_MSGUPDATECLIENT']._serialized_start=367 - _globals['_MSGUPDATECLIENT']._serialized_end=482 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=484 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=509 - _globals['_MSGUPGRADECLIENT']._serialized_start=512 - _globals['_MSGUPGRADECLIENT']._serialized_end=742 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=744 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=770 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=772 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=893 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=895 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=926 - _globals['_MSGRECOVERCLIENT']._serialized_start=928 - _globals['_MSGRECOVERCLIENT']._serialized_end=1036 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_start=1038 - _globals['_MSGRECOVERCLIENTRESPONSE']._serialized_end=1064 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_start=1067 - _globals['_MSGIBCSOFTWAREUPGRADE']._serialized_end=1222 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_start=1224 - _globals['_MSGIBCSOFTWAREUPGRADERESPONSE']._serialized_end=1255 - _globals['_MSGUPDATEPARAMS']._serialized_start=1257 - _globals['_MSGUPDATEPARAMS']._serialized_end=1357 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1359 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1384 - _globals['_MSG']._serialized_start=1387 - _globals['_MSG']._serialized_end=2133 + _MSGSUBMITMISBEHAVIOUR._serialized_options = b'\210\240\037\000\350\240\037\000' + _globals['_MSGCREATECLIENT']._serialized_start=101 + _globals['_MSGCREATECLIENT']._serialized_end=288 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=290 + _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=315 + _globals['_MSGUPDATECLIENT']._serialized_start=318 + _globals['_MSGUPDATECLIENT']._serialized_end=448 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=450 + _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=475 + _globals['_MSGUPGRADECLIENT']._serialized_start=478 + _globals['_MSGUPGRADECLIENT']._serialized_end=851 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=853 + _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=879 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=882 + _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=1026 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=1028 + _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=1059 + _globals['_MSG']._serialized_start=1062 + _globals['_MSG']._serialized_end=1480 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py index 9fc38cbf..c1d0d56b 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -35,21 +35,6 @@ def __init__(self, channel): request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.SerializeToString, response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, ) - self.RecoverClient = channel.unary_unary( - '/ibc.core.client.v1.Msg/RecoverClient', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.FromString, - ) - self.IBCSoftwareUpgrade = channel.unary_unary( - '/ibc.core.client.v1.Msg/IBCSoftwareUpgrade', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.FromString, - ) - self.UpdateClientParams = channel.unary_unary( - '/ibc.core.client.v1.Msg/UpdateClientParams', - request_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - response_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - ) class MsgServicer(object): @@ -84,27 +69,6 @@ def SubmitMisbehaviour(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def RecoverClient(self, request, context): - """RecoverClient defines a rpc handler method for MsgRecoverClient. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def IBCSoftwareUpgrade(self, request, context): - """IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateClientParams(self, request, context): - """UpdateClientParams defines a rpc handler method for MsgUpdateParams. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MsgServicer_to_server(servicer, server): rpc_method_handlers = { @@ -128,21 +92,6 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviour.FromString, response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.SerializeToString, ), - 'RecoverClient': grpc.unary_unary_rpc_method_handler( - servicer.RecoverClient, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.SerializeToString, - ), - 'IBCSoftwareUpgrade': grpc.unary_unary_rpc_method_handler( - servicer.IBCSoftwareUpgrade, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.SerializeToString, - ), - 'UpdateClientParams': grpc.unary_unary_rpc_method_handler( - servicer.UpdateClientParams, - request_deserializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, - response_serializer=ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'ibc.core.client.v1.Msg', rpc_method_handlers) @@ -221,54 +170,3 @@ def SubmitMisbehaviour(request, ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgSubmitMisbehaviourResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RecoverClient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/RecoverClient', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClient.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgRecoverClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def IBCSoftwareUpgrade(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/IBCSoftwareUpgrade', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgrade.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgIBCSoftwareUpgradeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateClientParams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/ibc.core.client.v1.Msg/UpdateClientParams', - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, - ibc_dot_core_dot_client_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index ed3dd692..e72176e5 100644 --- a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py +++ b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py @@ -15,7 +15,7 @@ from cosmos.ics23.v1 import proofs_pb2 as cosmos_dot_ics23_dot_v1_dot_proofs__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ibc/core/commitment/v1/commitment.proto\x12\x16ibc.core.commitment.v1\x1a\x14gogoproto/gogo.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\" \n\nMerkleRoot\x12\x0c\n\x04hash\x18\x01 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\"\n\x0cMerklePrefix\x12\x12\n\nkey_prefix\x18\x01 \x01(\x0c\"\x1e\n\nMerklePath\x12\x10\n\x08key_path\x18\x01 \x03(\t\"?\n\x0bMerkleProof\x12\x30\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofB>ZZZZZZ\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB>Z\x82\xd3\xe4\x93\x02\x38\x12\x36/ibc/core/connection/v1/client_connections/{client_id}\x12\xd8\x01\n\x15\x43onnectionClientState\x12\x39.ibc.core.connection.v1.QueryConnectionClientStateRequest\x1a:.ibc.core.connection.v1.QueryConnectionClientStateResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/ibc/core/connection/v1/connections/{connection_id}/client_state\x12\x98\x02\n\x18\x43onnectionConsensusState\x12<.ibc.core.connection.v1.QueryConnectionConsensusStateRequest\x1a=.ibc.core.connection.v1.QueryConnectionConsensusStateResponse\"\x7f\x82\xd3\xe4\x93\x02y\x12w/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}\x12\xa7\x01\n\x10\x43onnectionParams\x12\x34.ibc.core.connection.v1.QueryConnectionParamsRequest\x1a\x35.ibc.core.connection.v1.QueryConnectionParamsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/ibc/core/connection/v1/paramsB>Z\n\x15\x63ounterparty_versions\x18\x06 \x03(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12\x36\n\x0cproof_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x12\n\nproof_init\x18\x08 \x01(\x0c\x12\x14\n\x0cproof_client\x18\t \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\n \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\x0b \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x0c \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\r \x01(\x0c:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1e\n\x1cMsgConnectionOpenTryResponse\"\xaa\x03\n\x14MsgConnectionOpenAck\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\"\n\x1a\x63ounterparty_connection_id\x18\x02 \x01(\t\x12\x30\n\x07version\x18\x03 \x01(\x0b\x32\x1f.ibc.core.connection.v1.Version\x12*\n\x0c\x63lient_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x36\n\x0cproof_height\x18\x05 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x11\n\tproof_try\x18\x06 \x01(\x0c\x12\x14\n\x0cproof_client\x18\x07 \x01(\x0c\x12\x17\n\x0fproof_consensus\x18\x08 \x01(\x0c\x12:\n\x10\x63onsensus_height\x18\t \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\n \x01(\t\x12\"\n\x1ahost_consensus_state_proof\x18\x0b \x01(\x0c:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x1e\n\x1cMsgConnectionOpenAckResponse\"\x9d\x01\n\x18MsgConnectionOpenConfirm\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tproof_ack\x18\x02 \x01(\x0c\x12\x36\n\x0cproof_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06signer\x18\x04 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\"\n MsgConnectionOpenConfirmResponse\"h\n\x0fMsgUpdateParams\x12\x0e\n\x06signer\x18\x01 \x01(\t\x12\x34\n\x06params\x18\x02 \x01(\x0b\x32\x1e.ibc.core.connection.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgUpdateParamsResponse2\xf4\x04\n\x03Msg\x12z\n\x12\x43onnectionOpenInit\x12-.ibc.core.connection.v1.MsgConnectionOpenInit\x1a\x35.ibc.core.connection.v1.MsgConnectionOpenInitResponse\x12w\n\x11\x43onnectionOpenTry\x12,.ibc.core.connection.v1.MsgConnectionOpenTry\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenTryResponse\x12w\n\x11\x43onnectionOpenAck\x12,.ibc.core.connection.v1.MsgConnectionOpenAck\x1a\x34.ibc.core.connection.v1.MsgConnectionOpenAckResponse\x12\x83\x01\n\x15\x43onnectionOpenConfirm\x12\x30.ibc.core.connection.v1.MsgConnectionOpenConfirm\x1a\x38.ibc.core.connection.v1.MsgConnectionOpenConfirmResponse\x12r\n\x16UpdateConnectionParams\x12\'.ibc.core.connection.v1.MsgUpdateParams\x1a/.ibc.core.connection.v1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42>ZZ\n\x0e\x63lient_genesis\x18\x01 \x01(\x0b\x32 .ibc.core.client.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12\x46\n\x12\x63onnection_genesis\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x12@\n\x0f\x63hannel_genesis\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.GenesisStateB\x04\xc8\xde\x1f\x00\x42\x30Z.github.com/cosmos/ibc-go/v8/modules/core/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fibc/core/types/v1/genesis.proto\x12\x11ibc.core.types.v1\x1a\x14gogoproto/gogo.proto\x1a ibc/core/client/v1/genesis.proto\x1a$ibc/core/connection/v1/genesis.proto\x1a!ibc/core/channel/v1/genesis.proto\"\xa8\x02\n\x0cGenesisState\x12W\n\x0e\x63lient_genesis\x18\x01 \x01(\x0b\x32 .ibc.core.client.v1.GenesisStateB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"client_genesis\"\x12\x63\n\x12\x63onnection_genesis\x18\x02 \x01(\x0b\x32$.ibc.core.connection.v1.GenesisStateB!\xc8\xde\x1f\x00\xf2\xde\x1f\x19yaml:\"connection_genesis\"\x12Z\n\x0f\x63hannel_genesis\x18\x03 \x01(\x0b\x32!.ibc.core.channel.v1.GenesisStateB\x1e\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"channel_genesis\"B0Z.github.com/cosmos/ibc-go/v7/modules/core/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,13 +25,13 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/ibc-go/v8/modules/core/types' + DESCRIPTOR._serialized_options = b'Z.github.com/cosmos/ibc-go/v7/modules/core/types' _GENESISSTATE.fields_by_name['client_genesis']._options = None - _GENESISSTATE.fields_by_name['client_genesis']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['client_genesis']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"client_genesis\"' _GENESISSTATE.fields_by_name['connection_genesis']._options = None - _GENESISSTATE.fields_by_name['connection_genesis']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['connection_genesis']._serialized_options = b'\310\336\037\000\362\336\037\031yaml:\"connection_genesis\"' _GENESISSTATE.fields_by_name['channel_genesis']._options = None - _GENESISSTATE.fields_by_name['channel_genesis']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['channel_genesis']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"channel_genesis\"' _globals['_GENESISSTATE']._serialized_start=184 - _globals['_GENESISSTATE']._serialized_end=400 + _globals['_GENESISSTATE']._serialized_end=480 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py b/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py index 8c151712..12e7aacf 100644 --- a/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py +++ b/pyinjective/proto/ibc/lightclients/localhost/v2/localhost_pb2.py @@ -15,7 +15,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ibc/lightclients/localhost/v2/localhost.proto\x12\x1dibc.lightclients.localhost.v2\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"L\n\x0b\x43lientState\x12\x37\n\rlatest_height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\x42JZHgithub.com/cosmos/ibc-go/v8/modules/light-clients/09-localhost;localhostb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-ibc/lightclients/localhost/v2/localhost.proto\x12\x1dibc.lightclients.localhost.v2\x1a\x1fibc/core/client/v1/client.proto\x1a\x14gogoproto/gogo.proto\"L\n\x0b\x43lientState\x12\x37\n\rlatest_height\x18\x01 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00:\x04\x88\xa0\x1f\x00\x42JZHgithub.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost;localhostb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,7 +23,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZHgithub.com/cosmos/ibc-go/v8/modules/light-clients/09-localhost;localhost' + DESCRIPTOR._serialized_options = b'ZHgithub.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost;localhost' _CLIENTSTATE.fields_by_name['latest_height']._options = None _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' _CLIENTSTATE._options = None diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py index 1ee37bff..20c2f4b8 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v2/solomachine_pb2.py @@ -17,7 +17,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xa7\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusState\x12#\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x8d\x01\n\x06Header\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12,\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x05 \x01(\t:\x04\x88\xa0\x1f\x00\"\xcd\x01\n\x0cMisbehaviour\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12H\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData\x12H\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndData:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12<\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"\x97\x01\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12<\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataType\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\"Q\n\x0f\x43lientStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12*\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"W\n\x12\x43onsensusStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x04\x88\xa0\x1f\x00\"d\n\x13\x43onnectionStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x39\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd:\x04\x88\xa0\x1f\x00\"U\n\x10\x43hannelStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel:\x04\x88\xa0\x1f\x00\"8\n\x14PacketCommitmentData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x12\n\ncommitment\x18\x02 \x01(\x0c\"B\n\x19PacketAcknowledgementData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\"(\n\x18PacketReceiptAbsenceData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\";\n\x14NextSequenceRecvData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x15\n\rnext_seq_recv\x18\x02 \x01(\x04*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x42Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v2/solomachine.proto\x12\x1fibc.lightclients.solomachine.v2\x1a\'ibc/core/connection/v1/connection.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x81\x02\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\'\n\tis_frozen\x18\x02 \x01(\x08\x42\x14\xf2\xde\x1f\x10yaml:\"is_frozen\"\x12\x64\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v2.ConsensusStateB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\"\x12K\n\x1b\x61llow_update_after_proposal\x18\x04 \x01(\x08\x42&\xf2\xde\x1f\"yaml:\"allow_update_after_proposal\":\x04\x88\xa0\x1f\x00\"\x7f\n\x0e\x43onsensusState\x12?\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x15\xf2\xde\x1f\x11yaml:\"public_key\"\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\xc4\x01\n\x06Header\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12G\n\x0enew_public_key\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\x19\xf2\xde\x1f\x15yaml:\"new_public_key\"\x12\x33\n\x0fnew_diversifier\x18\x05 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\"\x97\x02\n\x0cMisbehaviour\x12\'\n\tclient_id\x18\x01 \x01(\tB\x14\xf2\xde\x1f\x10yaml:\"client_id\"\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12\x62\n\rsignature_one\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_one\"\x12\x62\n\rsignature_two\x18\x04 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v2.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_two\":\x04\x88\xa0\x1f\x00\"\xa0\x01\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12R\n\tdata_type\x18\x02 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeB\x14\xf2\xde\x1f\x10yaml:\"data_type\"\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"f\n\x18TimestampedSignatureData\x12\x31\n\x0esignature_data\x18\x01 \x01(\x0c\x42\x19\xf2\xde\x1f\x15yaml:\"signature_data\"\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"\xad\x01\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12R\n\tdata_type\x18\x04 \x01(\x0e\x32).ibc.lightclients.solomachine.v2.DataTypeB\x14\xf2\xde\x1f\x10yaml:\"data_type\"\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\nHeaderData\x12\x41\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x16\xf2\xde\x1f\x12yaml:\"new_pub_key\"\x12\x33\n\x0fnew_diversifier\x18\x02 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\"j\n\x0f\x43lientStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x43\n\x0c\x63lient_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x17\xf2\xde\x1f\x13yaml:\"client_state\":\x04\x88\xa0\x1f\x00\"s\n\x12\x43onsensusStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12I\n\x0f\x63onsensus_state\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\":\x04\x88\xa0\x1f\x00\"d\n\x13\x43onnectionStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x39\n\nconnection\x18\x02 \x01(\x0b\x32%.ibc.core.connection.v1.ConnectionEnd:\x04\x88\xa0\x1f\x00\"U\n\x10\x43hannelStateData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12-\n\x07\x63hannel\x18\x02 \x01(\x0b\x32\x1c.ibc.core.channel.v1.Channel:\x04\x88\xa0\x1f\x00\"8\n\x14PacketCommitmentData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x12\n\ncommitment\x18\x02 \x01(\x0c\"B\n\x19PacketAcknowledgementData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61\x63knowledgement\x18\x02 \x01(\x0c\"(\n\x18PacketReceiptAbsenceData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\"U\n\x14NextSequenceRecvData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12/\n\rnext_seq_recv\x18\x02 \x01(\x04\x42\x18\xf2\xde\x1f\x14yaml:\"next_seq_recv\"*\x8c\x04\n\x08\x44\x61taType\x12\x38\n#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12&\n\x16\x44\x41TA_TYPE_CLIENT_STATE\x10\x01\x1a\n\x8a\x9d \x06\x43LIENT\x12,\n\x19\x44\x41TA_TYPE_CONSENSUS_STATE\x10\x02\x1a\r\x8a\x9d \tCONSENSUS\x12.\n\x1a\x44\x41TA_TYPE_CONNECTION_STATE\x10\x03\x1a\x0e\x8a\x9d \nCONNECTION\x12(\n\x17\x44\x41TA_TYPE_CHANNEL_STATE\x10\x04\x1a\x0b\x8a\x9d \x07\x43HANNEL\x12\x35\n\x1b\x44\x41TA_TYPE_PACKET_COMMITMENT\x10\x05\x1a\x14\x8a\x9d \x10PACKETCOMMITMENT\x12?\n DATA_TYPE_PACKET_ACKNOWLEDGEMENT\x10\x06\x1a\x19\x8a\x9d \x15PACKETACKNOWLEDGEMENT\x12>\n DATA_TYPE_PACKET_RECEIPT_ABSENCE\x10\x07\x1a\x18\x8a\x9d \x14PACKETRECEIPTABSENCE\x12\x36\n\x1c\x44\x41TA_TYPE_NEXT_SEQUENCE_RECV\x10\x08\x1a\x14\x8a\x9d \x10NEXTSEQUENCERECV\x12 \n\x10\x44\x41TA_TYPE_HEADER\x10\t\x1a\n\x8a\x9d \x06HEADER\x1a\x04\x88\xa3\x1e\x00\x42\x42Z@github.com/cosmos/ibc-go/v7/modules/core/02-client/migrations/v7b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,7 +25,7 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z@github.com/cosmos/ibc-go/v8/modules/core/02-client/migrations/v7' + DESCRIPTOR._serialized_options = b'Z@github.com/cosmos/ibc-go/v7/modules/core/02-client/migrations/v7' _DATATYPE._options = None _DATATYPE._serialized_options = b'\210\243\036\000' _DATATYPE.values_by_name["DATA_TYPE_UNINITIALIZED_UNSPECIFIED"]._options = None @@ -48,62 +48,96 @@ _DATATYPE.values_by_name["DATA_TYPE_NEXT_SEQUENCE_RECV"]._serialized_options = b'\212\235 \020NEXTSEQUENCERECV' _DATATYPE.values_by_name["DATA_TYPE_HEADER"]._options = None _DATATYPE.values_by_name["DATA_TYPE_HEADER"]._serialized_options = b'\212\235 \006HEADER' + _CLIENTSTATE.fields_by_name['is_frozen']._options = None + _CLIENTSTATE.fields_by_name['is_frozen']._serialized_options = b'\362\336\037\020yaml:\"is_frozen\"' + _CLIENTSTATE.fields_by_name['consensus_state']._options = None + _CLIENTSTATE.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' + _CLIENTSTATE.fields_by_name['allow_update_after_proposal']._options = None + _CLIENTSTATE.fields_by_name['allow_update_after_proposal']._serialized_options = b'\362\336\037\"yaml:\"allow_update_after_proposal\"' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' + _CONSENSUSSTATE.fields_by_name['public_key']._options = None + _CONSENSUSSTATE.fields_by_name['public_key']._serialized_options = b'\362\336\037\021yaml:\"public_key\"' _CONSENSUSSTATE._options = None _CONSENSUSSTATE._serialized_options = b'\210\240\037\000' + _HEADER.fields_by_name['new_public_key']._options = None + _HEADER.fields_by_name['new_public_key']._serialized_options = b'\362\336\037\025yaml:\"new_public_key\"' + _HEADER.fields_by_name['new_diversifier']._options = None + _HEADER.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADER._options = None _HEADER._serialized_options = b'\210\240\037\000' + _MISBEHAVIOUR.fields_by_name['client_id']._options = None + _MISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\362\336\037\020yaml:\"client_id\"' + _MISBEHAVIOUR.fields_by_name['signature_one']._options = None + _MISBEHAVIOUR.fields_by_name['signature_one']._serialized_options = b'\362\336\037\024yaml:\"signature_one\"' + _MISBEHAVIOUR.fields_by_name['signature_two']._options = None + _MISBEHAVIOUR.fields_by_name['signature_two']._serialized_options = b'\362\336\037\024yaml:\"signature_two\"' _MISBEHAVIOUR._options = None _MISBEHAVIOUR._serialized_options = b'\210\240\037\000' + _SIGNATUREANDDATA.fields_by_name['data_type']._options = None + _SIGNATUREANDDATA.fields_by_name['data_type']._serialized_options = b'\362\336\037\020yaml:\"data_type\"' _SIGNATUREANDDATA._options = None _SIGNATUREANDDATA._serialized_options = b'\210\240\037\000' + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._options = None + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._serialized_options = b'\362\336\037\025yaml:\"signature_data\"' _TIMESTAMPEDSIGNATUREDATA._options = None _TIMESTAMPEDSIGNATUREDATA._serialized_options = b'\210\240\037\000' + _SIGNBYTES.fields_by_name['data_type']._options = None + _SIGNBYTES.fields_by_name['data_type']._serialized_options = b'\362\336\037\020yaml:\"data_type\"' _SIGNBYTES._options = None _SIGNBYTES._serialized_options = b'\210\240\037\000' + _HEADERDATA.fields_by_name['new_pub_key']._options = None + _HEADERDATA.fields_by_name['new_pub_key']._serialized_options = b'\362\336\037\022yaml:\"new_pub_key\"' + _HEADERDATA.fields_by_name['new_diversifier']._options = None + _HEADERDATA.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADERDATA._options = None _HEADERDATA._serialized_options = b'\210\240\037\000' + _CLIENTSTATEDATA.fields_by_name['client_state']._options = None + _CLIENTSTATEDATA.fields_by_name['client_state']._serialized_options = b'\362\336\037\023yaml:\"client_state\"' _CLIENTSTATEDATA._options = None _CLIENTSTATEDATA._serialized_options = b'\210\240\037\000' + _CONSENSUSSTATEDATA.fields_by_name['consensus_state']._options = None + _CONSENSUSSTATEDATA.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' _CONSENSUSSTATEDATA._options = None _CONSENSUSSTATEDATA._serialized_options = b'\210\240\037\000' _CONNECTIONSTATEDATA._options = None _CONNECTIONSTATEDATA._serialized_options = b'\210\240\037\000' _CHANNELSTATEDATA._options = None _CHANNELSTATEDATA._serialized_options = b'\210\240\037\000' - _globals['_DATATYPE']._serialized_start=1890 - _globals['_DATATYPE']._serialized_end=2414 + _NEXTSEQUENCERECVDATA.fields_by_name['next_seq_recv']._options = None + _NEXTSEQUENCERECVDATA.fields_by_name['next_seq_recv']._serialized_options = b'\362\336\037\024yaml:\"next_seq_recv\"' + _globals['_DATATYPE']._serialized_start=2335 + _globals['_DATATYPE']._serialized_end=2859 _globals['_CLIENTSTATE']._serialized_start=212 - _globals['_CLIENTSTATE']._serialized_end=379 - _globals['_CONSENSUSSTATE']._serialized_start=381 - _globals['_CONSENSUSSTATE']._serialized_end=485 - _globals['_HEADER']._serialized_start=488 - _globals['_HEADER']._serialized_end=629 - _globals['_MISBEHAVIOUR']._serialized_start=632 - _globals['_MISBEHAVIOUR']._serialized_end=837 - _globals['_SIGNATUREANDDATA']._serialized_start=840 - _globals['_SIGNATUREANDDATA']._serialized_end=978 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=980 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1055 - _globals['_SIGNBYTES']._serialized_start=1058 - _globals['_SIGNBYTES']._serialized_end=1209 - _globals['_HEADERDATA']._serialized_start=1211 - _globals['_HEADERDATA']._serialized_end=1297 - _globals['_CLIENTSTATEDATA']._serialized_start=1299 - _globals['_CLIENTSTATEDATA']._serialized_end=1380 - _globals['_CONSENSUSSTATEDATA']._serialized_start=1382 - _globals['_CONSENSUSSTATEDATA']._serialized_end=1469 - _globals['_CONNECTIONSTATEDATA']._serialized_start=1471 - _globals['_CONNECTIONSTATEDATA']._serialized_end=1571 - _globals['_CHANNELSTATEDATA']._serialized_start=1573 - _globals['_CHANNELSTATEDATA']._serialized_end=1658 - _globals['_PACKETCOMMITMENTDATA']._serialized_start=1660 - _globals['_PACKETCOMMITMENTDATA']._serialized_end=1716 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=1718 - _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=1784 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=1786 - _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=1826 - _globals['_NEXTSEQUENCERECVDATA']._serialized_start=1828 - _globals['_NEXTSEQUENCERECVDATA']._serialized_end=1887 + _globals['_CLIENTSTATE']._serialized_end=469 + _globals['_CONSENSUSSTATE']._serialized_start=471 + _globals['_CONSENSUSSTATE']._serialized_end=598 + _globals['_HEADER']._serialized_start=601 + _globals['_HEADER']._serialized_end=797 + _globals['_MISBEHAVIOUR']._serialized_start=800 + _globals['_MISBEHAVIOUR']._serialized_end=1079 + _globals['_SIGNATUREANDDATA']._serialized_start=1082 + _globals['_SIGNATUREANDDATA']._serialized_end=1242 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=1244 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1346 + _globals['_SIGNBYTES']._serialized_start=1349 + _globals['_SIGNBYTES']._serialized_end=1522 + _globals['_HEADERDATA']._serialized_start=1525 + _globals['_HEADERDATA']._serialized_end=1663 + _globals['_CLIENTSTATEDATA']._serialized_start=1665 + _globals['_CLIENTSTATEDATA']._serialized_end=1771 + _globals['_CONSENSUSSTATEDATA']._serialized_start=1773 + _globals['_CONSENSUSSTATEDATA']._serialized_end=1888 + _globals['_CONNECTIONSTATEDATA']._serialized_start=1890 + _globals['_CONNECTIONSTATEDATA']._serialized_end=1990 + _globals['_CHANNELSTATEDATA']._serialized_start=1992 + _globals['_CHANNELSTATEDATA']._serialized_end=2077 + _globals['_PACKETCOMMITMENTDATA']._serialized_start=2079 + _globals['_PACKETCOMMITMENTDATA']._serialized_end=2135 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_start=2137 + _globals['_PACKETACKNOWLEDGEMENTDATA']._serialized_end=2203 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_start=2205 + _globals['_PACKETRECEIPTABSENCEDATA']._serialized_end=2245 + _globals['_NEXTSEQUENCERECVDATA']._serialized_start=2247 + _globals['_NEXTSEQUENCERECVDATA']._serialized_end=2332 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py index 97cee5ce..591ad2cc 100644 --- a/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py +++ b/pyinjective/proto/ibc/lightclients/solomachine/v3/solomachine_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\x82\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\tis_frozen\x18\x02 \x01(\x08\x12H\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusState:\x04\x88\xa0\x1f\x00\"h\n\x0e\x43onsensusState\x12(\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"{\n\x06Header\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12,\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x04 \x01(\t:\x04\x88\xa0\x1f\x00\"\xba\x01\n\x0cMisbehaviour\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12H\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData\x12H\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndData:\x04\x88\xa0\x1f\x00\"Z\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"K\n\x18TimestampedSignatureData\x12\x16\n\x0esignature_data\x18\x01 \x01(\x0c\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"g\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"V\n\nHeaderData\x12)\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x17\n\x0fnew_diversifier\x18\x02 \x01(\t:\x04\x88\xa0\x1f\x00\x42NZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachineb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ibc/lightclients/solomachine/v3/solomachine.proto\x12\x1fibc.lightclients.solomachine.v3\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\"\xb4\x01\n\x0b\x43lientState\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\'\n\tis_frozen\x18\x02 \x01(\x08\x42\x14\xf2\xde\x1f\x10yaml:\"is_frozen\"\x12\x64\n\x0f\x63onsensus_state\x18\x03 \x01(\x0b\x32/.ibc.lightclients.solomachine.v3.ConsensusStateB\x1a\xf2\xde\x1f\x16yaml:\"consensus_state\":\x04\x88\xa0\x1f\x00\"\x7f\n\x0e\x43onsensusState\x12?\n\npublic_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x15\xf2\xde\x1f\x11yaml:\"public_key\"\x12\x13\n\x0b\x64iversifier\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x04:\x04\x88\xa0\x1f\x00\"\xb2\x01\n\x06Header\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12G\n\x0enew_public_key\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\x19\xf2\xde\x1f\x15yaml:\"new_public_key\"\x12\x33\n\x0fnew_diversifier\x18\x04 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\"\xee\x01\n\x0cMisbehaviour\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x62\n\rsignature_one\x18\x02 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_one\"\x12\x62\n\rsignature_two\x18\x03 \x01(\x0b\x32\x31.ibc.lightclients.solomachine.v3.SignatureAndDataB\x18\xf2\xde\x1f\x14yaml:\"signature_two\":\x04\x88\xa0\x1f\x00\"Z\n\x10SignatureAndData\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x11\n\ttimestamp\x18\x04 \x01(\x04:\x04\x88\xa0\x1f\x00\"f\n\x18TimestampedSignatureData\x12\x31\n\x0esignature_data\x18\x01 \x01(\x0c\x42\x19\xf2\xde\x1f\x15yaml:\"signature_data\"\x12\x11\n\ttimestamp\x18\x02 \x01(\x04:\x04\x88\xa0\x1f\x00\"g\n\tSignBytes\x12\x10\n\x08sequence\x18\x01 \x01(\x04\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\x12\x13\n\x0b\x64iversifier\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c:\x04\x88\xa0\x1f\x00\"\x8a\x01\n\nHeaderData\x12\x41\n\x0bnew_pub_key\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x16\xf2\xde\x1f\x12yaml:\"new_pub_key\"\x12\x33\n\x0fnew_diversifier\x18\x02 \x01(\tB\x1a\xf2\xde\x1f\x16yaml:\"new_diversifier\":\x04\x88\xa0\x1f\x00\x42NZLgithub.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine;solomachineb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,37 +23,57 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZLgithub.com/cosmos/ibc-go/v8/modules/light-clients/06-solomachine;solomachine' + DESCRIPTOR._serialized_options = b'ZLgithub.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine;solomachine' + _CLIENTSTATE.fields_by_name['is_frozen']._options = None + _CLIENTSTATE.fields_by_name['is_frozen']._serialized_options = b'\362\336\037\020yaml:\"is_frozen\"' + _CLIENTSTATE.fields_by_name['consensus_state']._options = None + _CLIENTSTATE.fields_by_name['consensus_state']._serialized_options = b'\362\336\037\026yaml:\"consensus_state\"' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' + _CONSENSUSSTATE.fields_by_name['public_key']._options = None + _CONSENSUSSTATE.fields_by_name['public_key']._serialized_options = b'\362\336\037\021yaml:\"public_key\"' _CONSENSUSSTATE._options = None _CONSENSUSSTATE._serialized_options = b'\210\240\037\000' + _HEADER.fields_by_name['new_public_key']._options = None + _HEADER.fields_by_name['new_public_key']._serialized_options = b'\362\336\037\025yaml:\"new_public_key\"' + _HEADER.fields_by_name['new_diversifier']._options = None + _HEADER.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADER._options = None _HEADER._serialized_options = b'\210\240\037\000' + _MISBEHAVIOUR.fields_by_name['signature_one']._options = None + _MISBEHAVIOUR.fields_by_name['signature_one']._serialized_options = b'\362\336\037\024yaml:\"signature_one\"' + _MISBEHAVIOUR.fields_by_name['signature_two']._options = None + _MISBEHAVIOUR.fields_by_name['signature_two']._serialized_options = b'\362\336\037\024yaml:\"signature_two\"' _MISBEHAVIOUR._options = None _MISBEHAVIOUR._serialized_options = b'\210\240\037\000' _SIGNATUREANDDATA._options = None _SIGNATUREANDDATA._serialized_options = b'\210\240\037\000' + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._options = None + _TIMESTAMPEDSIGNATUREDATA.fields_by_name['signature_data']._serialized_options = b'\362\336\037\025yaml:\"signature_data\"' _TIMESTAMPEDSIGNATUREDATA._options = None _TIMESTAMPEDSIGNATUREDATA._serialized_options = b'\210\240\037\000' _SIGNBYTES._options = None _SIGNBYTES._serialized_options = b'\210\240\037\000' + _HEADERDATA.fields_by_name['new_pub_key']._options = None + _HEADERDATA.fields_by_name['new_pub_key']._serialized_options = b'\362\336\037\022yaml:\"new_pub_key\"' + _HEADERDATA.fields_by_name['new_diversifier']._options = None + _HEADERDATA.fields_by_name['new_diversifier']._serialized_options = b'\362\336\037\026yaml:\"new_diversifier\"' _HEADERDATA._options = None _HEADERDATA._serialized_options = b'\210\240\037\000' _globals['_CLIENTSTATE']._serialized_start=136 - _globals['_CLIENTSTATE']._serialized_end=266 - _globals['_CONSENSUSSTATE']._serialized_start=268 - _globals['_CONSENSUSSTATE']._serialized_end=372 - _globals['_HEADER']._serialized_start=374 - _globals['_HEADER']._serialized_end=497 - _globals['_MISBEHAVIOUR']._serialized_start=500 - _globals['_MISBEHAVIOUR']._serialized_end=686 - _globals['_SIGNATUREANDDATA']._serialized_start=688 - _globals['_SIGNATUREANDDATA']._serialized_end=778 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=780 - _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=855 - _globals['_SIGNBYTES']._serialized_start=857 - _globals['_SIGNBYTES']._serialized_end=960 - _globals['_HEADERDATA']._serialized_start=962 - _globals['_HEADERDATA']._serialized_end=1048 + _globals['_CLIENTSTATE']._serialized_end=316 + _globals['_CONSENSUSSTATE']._serialized_start=318 + _globals['_CONSENSUSSTATE']._serialized_end=445 + _globals['_HEADER']._serialized_start=448 + _globals['_HEADER']._serialized_end=626 + _globals['_MISBEHAVIOUR']._serialized_start=629 + _globals['_MISBEHAVIOUR']._serialized_end=867 + _globals['_SIGNATUREANDDATA']._serialized_start=869 + _globals['_SIGNATUREANDDATA']._serialized_end=959 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_start=961 + _globals['_TIMESTAMPEDSIGNATUREDATA']._serialized_end=1063 + _globals['_SIGNBYTES']._serialized_start=1065 + _globals['_SIGNBYTES']._serialized_end=1168 + _globals['_HEADERDATA']._serialized_start=1171 + _globals['_HEADERDATA']._serialized_end=1309 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py index c83e7969..30a58918 100644 --- a/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py +++ b/pyinjective/proto/ibc/lightclients/tendermint/v1/tendermint_pb2.py @@ -21,7 +21,7 @@ from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xb2\x04\n\x0b\x43lientState\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x43\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x04\xc8\xde\x1f\x00\x12<\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12=\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12<\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x37\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x37\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12/\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpec\x12\x14\n\x0cupgrade_path\x18\t \x03(\t\x12%\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42\x02\x18\x01\x12+\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42\x02\x18\x01:\x04\x88\xa0\x1f\x00\"\xdb\x01\n\x0e\x43onsensusState\x12\x37\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00\x12R\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42\x34\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes:\x04\x88\xa0\x1f\x00\"\xb9\x01\n\x0cMisbehaviour\x12\x15\n\tclient_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x45\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header1\x12\x45\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x0b\xe2\xde\x1f\x07Header2:\x04\x88\xa0\x1f\x00\"\xf2\x01\n\x06Header\x12;\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x04\xd0\xde\x1f\x01\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x38\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12:\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"2\n\x08\x46raction\x12\x11\n\tnumerator\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\x04\x42LZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermintb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/ibc/lightclients/tendermint/v1/tendermint.proto\x12\x1eibc.lightclients.tendermint.v1\x1a tendermint/types/validator.proto\x1a\x1ctendermint/types/types.proto\x1a\x1c\x63osmos/ics23/v1/proofs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fibc/core/client/v1/client.proto\x1a\'ibc/core/commitment/v1/commitment.proto\x1a\x14gogoproto/gogo.proto\"\xc6\x06\n\x0b\x43lientState\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12Y\n\x0btrust_level\x18\x02 \x01(\x0b\x32(.ibc.lightclients.tendermint.v1.FractionB\x1a\xc8\xde\x1f\x00\xf2\xde\x1f\x12yaml:\"trust_level\"\x12V\n\x0ftrusting_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"trusting_period\"\x98\xdf\x1f\x01\x12X\n\x10unbonding_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB#\xc8\xde\x1f\x00\xf2\xde\x1f\x17yaml:\"unbonding_period\"\x98\xdf\x1f\x01\x12V\n\x0fmax_clock_drift\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\"\xc8\xde\x1f\x00\xf2\xde\x1f\x16yaml:\"max_clock_drift\"\x98\xdf\x1f\x01\x12O\n\rfrozen_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1c\xc8\xde\x1f\x00\xf2\xde\x1f\x14yaml:\"frozen_height\"\x12O\n\rlatest_height\x18\x07 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1c\xc8\xde\x1f\x00\xf2\xde\x1f\x14yaml:\"latest_height\"\x12G\n\x0bproof_specs\x18\x08 \x03(\x0b\x32\x1a.cosmos.ics23.v1.ProofSpecB\x16\xf2\xde\x1f\x12yaml:\"proof_specs\"\x12-\n\x0cupgrade_path\x18\t \x03(\tB\x17\xf2\xde\x1f\x13yaml:\"upgrade_path\"\x12I\n\x19\x61llow_update_after_expiry\x18\n \x01(\x08\x42&\x18\x01\xf2\xde\x1f yaml:\"allow_update_after_expiry\"\x12U\n\x1f\x61llow_update_after_misbehaviour\x18\x0b \x01(\x08\x42,\x18\x01\xf2\xde\x1f&yaml:\"allow_update_after_misbehaviour\":\x04\x88\xa0\x1f\x00\"\xfa\x01\n\x0e\x43onsensusState\x12\x37\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\x04root\x18\x02 \x01(\x0b\x32\".ibc.core.commitment.v1.MerkleRootB\x04\xc8\xde\x1f\x00\x12q\n\x14next_validators_hash\x18\x03 \x01(\x0c\x42S\xf2\xde\x1f\x1byaml:\"next_validators_hash\"\xfa\xde\x1f\x30github.com/cometbft/cometbft/libs/bytes.HexBytes:\x04\x88\xa0\x1f\x00\"\xf3\x01\n\x0cMisbehaviour\x12)\n\tclient_id\x18\x01 \x01(\tB\x16\x18\x01\xf2\xde\x1f\x10yaml:\"client_id\"\x12X\n\x08header_1\x18\x02 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x1e\xe2\xde\x1f\x07Header1\xf2\xde\x1f\x0fyaml:\"header_1\"\x12X\n\x08header_2\x18\x03 \x01(\x0b\x32&.ibc.lightclients.tendermint.v1.HeaderB\x1e\xe2\xde\x1f\x07Header2\xf2\xde\x1f\x0fyaml:\"header_2\":\x04\x88\xa0\x1f\x00\"\xdc\x02\n\x06Header\x12S\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeaderB\x1c\xd0\xde\x1f\x01\xf2\xde\x1f\x14yaml:\"signed_header\"\x12O\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetB\x18\xf2\xde\x1f\x14yaml:\"validator_set\"\x12Q\n\x0etrusted_height\x18\x03 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x1d\xc8\xde\x1f\x00\xf2\xde\x1f\x15yaml:\"trusted_height\"\x12Y\n\x12trusted_validators\x18\x04 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSetB\x1d\xf2\xde\x1f\x19yaml:\"trusted_validators\"\"2\n\x08\x46raction\x12\x11\n\tnumerator\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65nominator\x18\x02 \x01(\x04\x42LZJgithub.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint;tendermintb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,23 +29,27 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint;tendermint' + DESCRIPTOR._serialized_options = b'ZJgithub.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint;tendermint' _CLIENTSTATE.fields_by_name['trust_level']._options = None - _CLIENTSTATE.fields_by_name['trust_level']._serialized_options = b'\310\336\037\000' + _CLIENTSTATE.fields_by_name['trust_level']._serialized_options = b'\310\336\037\000\362\336\037\022yaml:\"trust_level\"' _CLIENTSTATE.fields_by_name['trusting_period']._options = None - _CLIENTSTATE.fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _CLIENTSTATE.fields_by_name['trusting_period']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"trusting_period\"\230\337\037\001' _CLIENTSTATE.fields_by_name['unbonding_period']._options = None - _CLIENTSTATE.fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\230\337\037\001' + _CLIENTSTATE.fields_by_name['unbonding_period']._serialized_options = b'\310\336\037\000\362\336\037\027yaml:\"unbonding_period\"\230\337\037\001' _CLIENTSTATE.fields_by_name['max_clock_drift']._options = None - _CLIENTSTATE.fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\230\337\037\001' + _CLIENTSTATE.fields_by_name['max_clock_drift']._serialized_options = b'\310\336\037\000\362\336\037\026yaml:\"max_clock_drift\"\230\337\037\001' _CLIENTSTATE.fields_by_name['frozen_height']._options = None - _CLIENTSTATE.fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000' + _CLIENTSTATE.fields_by_name['frozen_height']._serialized_options = b'\310\336\037\000\362\336\037\024yaml:\"frozen_height\"' _CLIENTSTATE.fields_by_name['latest_height']._options = None - _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000' + _CLIENTSTATE.fields_by_name['latest_height']._serialized_options = b'\310\336\037\000\362\336\037\024yaml:\"latest_height\"' + _CLIENTSTATE.fields_by_name['proof_specs']._options = None + _CLIENTSTATE.fields_by_name['proof_specs']._serialized_options = b'\362\336\037\022yaml:\"proof_specs\"' + _CLIENTSTATE.fields_by_name['upgrade_path']._options = None + _CLIENTSTATE.fields_by_name['upgrade_path']._serialized_options = b'\362\336\037\023yaml:\"upgrade_path\"' _CLIENTSTATE.fields_by_name['allow_update_after_expiry']._options = None - _CLIENTSTATE.fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001' + _CLIENTSTATE.fields_by_name['allow_update_after_expiry']._serialized_options = b'\030\001\362\336\037 yaml:\"allow_update_after_expiry\"' _CLIENTSTATE.fields_by_name['allow_update_after_misbehaviour']._options = None - _CLIENTSTATE.fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001' + _CLIENTSTATE.fields_by_name['allow_update_after_misbehaviour']._serialized_options = b'\030\001\362\336\037&yaml:\"allow_update_after_misbehaviour\"' _CLIENTSTATE._options = None _CLIENTSTATE._serialized_options = b'\210\240\037\000' _CONSENSUSSTATE.fields_by_name['timestamp']._options = None @@ -53,29 +57,33 @@ _CONSENSUSSTATE.fields_by_name['root']._options = None _CONSENSUSSTATE.fields_by_name['root']._serialized_options = b'\310\336\037\000' _CONSENSUSSTATE.fields_by_name['next_validators_hash']._options = None - _CONSENSUSSTATE.fields_by_name['next_validators_hash']._serialized_options = b'\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' + _CONSENSUSSTATE.fields_by_name['next_validators_hash']._serialized_options = b'\362\336\037\033yaml:\"next_validators_hash\"\372\336\0370github.com/cometbft/cometbft/libs/bytes.HexBytes' _CONSENSUSSTATE._options = None _CONSENSUSSTATE._serialized_options = b'\210\240\037\000' _MISBEHAVIOUR.fields_by_name['client_id']._options = None - _MISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001' + _MISBEHAVIOUR.fields_by_name['client_id']._serialized_options = b'\030\001\362\336\037\020yaml:\"client_id\"' _MISBEHAVIOUR.fields_by_name['header_1']._options = None - _MISBEHAVIOUR.fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1' + _MISBEHAVIOUR.fields_by_name['header_1']._serialized_options = b'\342\336\037\007Header1\362\336\037\017yaml:\"header_1\"' _MISBEHAVIOUR.fields_by_name['header_2']._options = None - _MISBEHAVIOUR.fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2' + _MISBEHAVIOUR.fields_by_name['header_2']._serialized_options = b'\342\336\037\007Header2\362\336\037\017yaml:\"header_2\"' _MISBEHAVIOUR._options = None _MISBEHAVIOUR._serialized_options = b'\210\240\037\000' _HEADER.fields_by_name['signed_header']._options = None - _HEADER.fields_by_name['signed_header']._serialized_options = b'\320\336\037\001' + _HEADER.fields_by_name['signed_header']._serialized_options = b'\320\336\037\001\362\336\037\024yaml:\"signed_header\"' + _HEADER.fields_by_name['validator_set']._options = None + _HEADER.fields_by_name['validator_set']._serialized_options = b'\362\336\037\024yaml:\"validator_set\"' _HEADER.fields_by_name['trusted_height']._options = None - _HEADER.fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000' + _HEADER.fields_by_name['trusted_height']._serialized_options = b'\310\336\037\000\362\336\037\025yaml:\"trusted_height\"' + _HEADER.fields_by_name['trusted_validators']._options = None + _HEADER.fields_by_name['trusted_validators']._serialized_options = b'\362\336\037\031yaml:\"trusted_validators\"' _globals['_CLIENTSTATE']._serialized_start=339 - _globals['_CLIENTSTATE']._serialized_end=901 - _globals['_CONSENSUSSTATE']._serialized_start=904 - _globals['_CONSENSUSSTATE']._serialized_end=1123 - _globals['_MISBEHAVIOUR']._serialized_start=1126 - _globals['_MISBEHAVIOUR']._serialized_end=1311 - _globals['_HEADER']._serialized_start=1314 - _globals['_HEADER']._serialized_end=1556 - _globals['_FRACTION']._serialized_start=1558 - _globals['_FRACTION']._serialized_end=1608 + _globals['_CLIENTSTATE']._serialized_end=1177 + _globals['_CONSENSUSSTATE']._serialized_start=1180 + _globals['_CONSENSUSSTATE']._serialized_end=1430 + _globals['_MISBEHAVIOUR']._serialized_start=1433 + _globals['_MISBEHAVIOUR']._serialized_end=1676 + _globals['_HEADER']._serialized_start=1679 + _globals['_HEADER']._serialized_end=2027 + _globals['_FRACTION']._serialized_start=2029 + _globals['_FRACTION']._serialized_end=2079 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/events_pb2.py b/pyinjective/proto/injective/wasmx/v1/events_pb2.py new file mode 100644 index 00000000..98439a5e --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/events_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/events.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/wasmx/v1/events.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"r\n\x16\x45ventContractExecution\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x01(\x0c\x12\x13\n\x0bother_error\x18\x03 \x01(\t\x12\x17\n\x0f\x65xecution_error\x18\x04 \x01(\t\"\xf9\x01\n\x17\x45ventContractRegistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode\"5\n\x19\x45ventContractDeregistered\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\tBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _globals['_EVENTCONTRACTEXECUTION']._serialized_start=144 + _globals['_EVENTCONTRACTEXECUTION']._serialized_end=258 + _globals['_EVENTCONTRACTREGISTERED']._serialized_start=261 + _globals['_EVENTCONTRACTREGISTERED']._serialized_end=510 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_start=512 + _globals['_EVENTCONTRACTDEREGISTERED']._serialized_end=565 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py rename to pyinjective/proto/injective/wasmx/v1/events_pb2_grpc.py diff --git a/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py new file mode 100644 index 00000000..458ed453 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/genesis_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/genesis.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n injective/wasmx/v1/genesis.proto\x12\x12injective.wasmx.v1\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a\x14gogoproto/gogo.proto\"u\n\x1dRegisteredContractWithAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x43\n\x13registered_contract\x18\x02 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract\"\x97\x01\n\x0cGenesisState\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\x12U\n\x14registered_contracts\x18\x02 \x03(\x0b\x32\x31.injective.wasmx.v1.RegisteredContractWithAddressB\x04\xc8\xde\x1f\x00\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.genesis_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _GENESISSTATE.fields_by_name['params']._options = None + _GENESISSTATE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _GENESISSTATE.fields_by_name['registered_contracts']._options = None + _GENESISSTATE.fields_by_name['registered_contracts']._serialized_options = b'\310\336\037\000' + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_start=110 + _globals['_REGISTEREDCONTRACTWITHADDRESS']._serialized_end=227 + _globals['_GENESISSTATE']._serialized_start=230 + _globals['_GENESISSTATE']._serialized_end=381 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py similarity index 100% rename from pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py rename to pyinjective/proto/injective/wasmx/v1/genesis_pb2_grpc.py diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py new file mode 100644 index 00000000..5c0d113c --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/proposal.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmwasm.wasm.v1 import proposal_pb2 as cosmwasm_dot_wasm_dot_v1_dot_proposal__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/wasmx/v1/proposal.proto\x12\x12injective.wasmx.v1\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x1f\x63osmwasm/wasm/v1/proposal.proto\x1a\x14gogoproto/gogo.proto\"\xcf\x01\n#ContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x03 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xd5\x01\n(BatchContractRegistrationRequestProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12]\n\x1e\x63ontract_registration_requests\x18\x03 \x03(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\x84\x01\n#BatchContractDeregistrationProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tcontracts\x18\x03 \x03(\t:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xb0\x02\n\x1b\x43ontractRegistrationRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\x12\x11\n\tgas_limit\x18\x02 \x01(\x04\x12\x11\n\tgas_price\x18\x03 \x01(\x04\x12\x1b\n\x13should_pin_contract\x18\x04 \x01(\x08\x12\x1c\n\x14is_migration_allowed\x18\x05 \x01(\x08\x12\x0f\n\x07\x63ode_id\x18\x06 \x01(\x04\x12\x15\n\radmin_address\x18\x07 \x01(\t\x12\x17\n\x0fgranter_address\x18\x08 \x01(\t\x12\x35\n\x0c\x66unding_mode\x18\t \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x1e\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xa2\x01\n\x16\x42\x61tchStoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12<\n\tproposals\x18\x03 \x03(\x0b\x32#.cosmwasm.wasm.v1.StoreCodeProposalB\x04\xc8\xde\x1f\x00:&\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content*G\n\x0b\x46undingMode\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0e\n\nSelfFunded\x10\x01\x12\r\n\tGrantOnly\x10\x02\x12\x08\n\x04\x44ual\x10\x03\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.proposal_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _CONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _CONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL.fields_by_name['contract_registration_requests']._serialized_options = b'\310\336\037\000' + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._options = None + _BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._options = None + _BATCHCONTRACTDEREGISTRATIONPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CONTRACTREGISTRATIONREQUEST._options = None + _CONTRACTREGISTRATIONREQUEST._serialized_options = b'\312\264-\032cosmos.gov.v1beta1.Content' + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._options = None + _BATCHSTORECODEPROPOSAL.fields_by_name['proposals']._serialized_options = b'\310\336\037\000' + _BATCHSTORECODEPROPOSAL._options = None + _BATCHSTORECODEPROPOSAL._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _globals['_FUNDINGMODE']._serialized_start=1172 + _globals['_FUNDINGMODE']._serialized_end=1243 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=140 + _globals['_CONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=347 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_start=350 + _globals['_BATCHCONTRACTREGISTRATIONREQUESTPROPOSAL']._serialized_end=563 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_start=566 + _globals['_BATCHCONTRACTDEREGISTRATIONPROPOSAL']._serialized_end=698 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_start=701 + _globals['_CONTRACTREGISTRATIONREQUEST']._serialized_end=1005 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_start=1008 + _globals['_BATCHSTORECODEPROPOSAL']._serialized_end=1170 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/proposal_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2.py b/pyinjective/proto/injective/wasmx/v1/query_pb2.py new file mode 100644 index 00000000..5edd5832 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/query.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import genesis_pb2 as injective_dot_wasmx_dot_v1_dot_genesis__pb2 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/query.proto\x12\x12injective.wasmx.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a injective/wasmx/v1/genesis.proto\x1a\x14gogoproto/gogo.proto\"\x19\n\x17QueryWasmxParamsRequest\"L\n\x18QueryWasmxParamsResponse\x12\x30\n\x06params\x18\x01 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00\"\x19\n\x17QueryModuleStateRequest\"K\n\x18QueryModuleStateResponse\x12/\n\x05state\x18\x01 \x01(\x0b\x32 .injective.wasmx.v1.GenesisState\"@\n$QueryContractRegistrationInfoRequest\x12\x18\n\x10\x63ontract_address\x18\x01 \x01(\t\"a\n%QueryContractRegistrationInfoResponse\x12\x38\n\x08\x63ontract\x18\x01 \x01(\x0b\x32&.injective.wasmx.v1.RegisteredContract2\x84\x04\n\x05Query\x12\x8c\x01\n\x0bWasmxParams\x12+.injective.wasmx.v1.QueryWasmxParamsRequest\x1a,.injective.wasmx.v1.QueryWasmxParamsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/injective/wasmx/v1/params\x12\xd1\x01\n\x18\x43ontractRegistrationInfo\x12\x38.injective.wasmx.v1.QueryContractRegistrationInfoRequest\x1a\x39.injective.wasmx.v1.QueryContractRegistrationInfoResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/wasmx/v1/registration_info/{contract_address}\x12\x97\x01\n\x10WasmxModuleState\x12+.injective.wasmx.v1.QueryModuleStateRequest\x1a,.injective.wasmx.v1.QueryModuleStateResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/wasmx/v1/module_stateBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._options = None + _QUERYWASMXPARAMSRESPONSE.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _QUERY.methods_by_name['WasmxParams']._options = None + _QUERY.methods_by_name['WasmxParams']._serialized_options = b'\202\323\344\223\002\034\022\032/injective/wasmx/v1/params' + _QUERY.methods_by_name['ContractRegistrationInfo']._options = None + _QUERY.methods_by_name['ContractRegistrationInfo']._serialized_options = b'\202\323\344\223\002:\0228/injective/wasmx/v1/registration_info/{contract_address}' + _QUERY.methods_by_name['WasmxModuleState']._options = None + _QUERY.methods_by_name['WasmxModuleState']._serialized_options = b'\202\323\344\223\002\"\022 /injective/wasmx/v1/module_state' + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_start=172 + _globals['_QUERYWASMXPARAMSREQUEST']._serialized_end=197 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_start=199 + _globals['_QUERYWASMXPARAMSRESPONSE']._serialized_end=275 + _globals['_QUERYMODULESTATEREQUEST']._serialized_start=277 + _globals['_QUERYMODULESTATEREQUEST']._serialized_end=302 + _globals['_QUERYMODULESTATERESPONSE']._serialized_start=304 + _globals['_QUERYMODULESTATERESPONSE']._serialized_end=379 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_start=381 + _globals['_QUERYCONTRACTREGISTRATIONINFOREQUEST']._serialized_end=445 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_start=447 + _globals['_QUERYCONTRACTREGISTRATIONINFORESPONSE']._serialized_end=544 + _globals['_QUERY']._serialized_start=547 + _globals['_QUERY']._serialized_end=1063 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py new file mode 100644 index 00000000..d43e993c --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/query_pb2_grpc.py @@ -0,0 +1,138 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import query_pb2 as injective_dot_wasmx_dot_v1_dot_query__pb2 + + +class QueryStub(object): + """Query defines the gRPC querier service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WasmxParams = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + ) + self.ContractRegistrationInfo = channel.unary_unary( + '/injective.wasmx.v1.Query/ContractRegistrationInfo', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + ) + self.WasmxModuleState = channel.unary_unary( + '/injective.wasmx.v1.Query/WasmxModuleState', + request_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + ) + + +class QueryServicer(object): + """Query defines the gRPC querier service. + """ + + def WasmxParams(self, request, context): + """Retrieves wasmx params + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ContractRegistrationInfo(self, request, context): + """Retrieves contract registration info + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WasmxModuleState(self, request, context): + """Retrieves the entire wasmx module's state + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_QueryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WasmxParams': grpc.unary_unary_rpc_method_handler( + servicer.WasmxParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.SerializeToString, + ), + 'ContractRegistrationInfo': grpc.unary_unary_rpc_method_handler( + servicer.ContractRegistrationInfo, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.SerializeToString, + ), + 'WasmxModuleState': grpc.unary_unary_rpc_method_handler( + servicer.WasmxModuleState, + request_deserializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Query', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Query(object): + """Query defines the gRPC querier service. + """ + + @staticmethod + def WasmxParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxParams', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryWasmxParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ContractRegistrationInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/ContractRegistrationInfo', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryContractRegistrationInfoResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def WasmxModuleState(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Query/WasmxModuleState', + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateRequest.SerializeToString, + injective_dot_wasmx_dot_v1_dot_query__pb2.QueryModuleStateResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py new file mode 100644 index 00000000..205467f5 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/tx.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from cosmos_proto import cosmos_pb2 as cosmos__proto_dot_cosmos__pb2 +from cosmos.msg.v1 import msg_pb2 as cosmos_dot_msg_dot_v1_dot_msg__pb2 +from injective.wasmx.v1 import wasmx_pb2 as injective_dot_wasmx_dot_v1_dot_wasmx__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1binjective/wasmx/v1/tx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x1einjective/wasmx/v1/wasmx.proto\x1a!injective/wasmx/v1/proposal.proto\"e\n\x18MsgExecuteContractCompat\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x10\n\x08\x63ontract\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05\x66unds\x18\x04 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"0\n MsgExecuteContractCompatResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x8d\x01\n\x11MsgUpdateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t\x12\x11\n\tgas_limit\x18\x03 \x01(\x04\x12\x11\n\tgas_price\x18\x04 \x01(\x04\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01:\x0b\x82\xe7\xb0*\x06sender\"\x1b\n\x19MsgUpdateContractResponse\"L\n\x13MsgActivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgActivateContractResponse\"N\n\x15MsgDeactivateContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x02 \x01(\t:\x0b\x82\xe7\xb0*\x06sender\"\x1f\n\x1dMsgDeactivateContractResponse\"\x80\x01\n\x0fMsgUpdateParams\x12+\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\x30\n\x06params\x18\x02 \x01(\x0b\x32\x1a.injective.wasmx.v1.ParamsB\x04\xc8\xde\x1f\x00:\x0e\x82\xe7\xb0*\tauthority\"\x19\n\x17MsgUpdateParamsResponse\"\x90\x01\n\x13MsgRegisterContract\x12\x0e\n\x06sender\x18\x01 \x01(\t\x12\\\n\x1d\x63ontract_registration_request\x18\x02 \x01(\x0b\x32/.injective.wasmx.v1.ContractRegistrationRequestB\x04\xc8\xde\x1f\x00:\x0b\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRegisterContractResponse2\xba\x05\n\x03Msg\x12t\n\x1cUpdateRegistryContractParams\x12%.injective.wasmx.v1.MsgUpdateContract\x1a-.injective.wasmx.v1.MsgUpdateContractResponse\x12t\n\x18\x41\x63tivateRegistryContract\x12\'.injective.wasmx.v1.MsgActivateContract\x1a/.injective.wasmx.v1.MsgActivateContractResponse\x12z\n\x1a\x44\x65\x61\x63tivateRegistryContract\x12).injective.wasmx.v1.MsgDeactivateContract\x1a\x31.injective.wasmx.v1.MsgDeactivateContractResponse\x12{\n\x15\x45xecuteContractCompat\x12,.injective.wasmx.v1.MsgExecuteContractCompat\x1a\x34.injective.wasmx.v1.MsgExecuteContractCompatResponse\x12`\n\x0cUpdateParams\x12#.injective.wasmx.v1.MsgUpdateParams\x1a+.injective.wasmx.v1.MsgUpdateParamsResponse\x12l\n\x10RegisterContract\x12\'.injective.wasmx.v1.MsgRegisterContract\x1a/.injective.wasmx.v1.MsgRegisterContractResponseBMZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.tx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _MSGEXECUTECONTRACTCOMPAT._options = None + _MSGEXECUTECONTRACTCOMPAT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATECONTRACT.fields_by_name['admin_address']._options = None + _MSGUPDATECONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _MSGUPDATECONTRACT._options = None + _MSGUPDATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGACTIVATECONTRACT._options = None + _MSGACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGDEACTIVATECONTRACT._options = None + _MSGDEACTIVATECONTRACT._serialized_options = b'\202\347\260*\006sender' + _MSGUPDATEPARAMS.fields_by_name['authority']._options = None + _MSGUPDATEPARAMS.fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' + _MSGUPDATEPARAMS.fields_by_name['params']._options = None + _MSGUPDATEPARAMS.fields_by_name['params']._serialized_options = b'\310\336\037\000' + _MSGUPDATEPARAMS._options = None + _MSGUPDATEPARAMS._serialized_options = b'\202\347\260*\tauthority' + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._options = None + _MSGREGISTERCONTRACT.fields_by_name['contract_registration_request']._serialized_options = b'\310\336\037\000' + _MSGREGISTERCONTRACT._options = None + _MSGREGISTERCONTRACT._serialized_options = b'\202\347\260*\006sender' + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_start=219 + _globals['_MSGEXECUTECONTRACTCOMPAT']._serialized_end=320 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_start=322 + _globals['_MSGEXECUTECONTRACTCOMPATRESPONSE']._serialized_end=370 + _globals['_MSGUPDATECONTRACT']._serialized_start=373 + _globals['_MSGUPDATECONTRACT']._serialized_end=514 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_start=516 + _globals['_MSGUPDATECONTRACTRESPONSE']._serialized_end=543 + _globals['_MSGACTIVATECONTRACT']._serialized_start=545 + _globals['_MSGACTIVATECONTRACT']._serialized_end=621 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_start=623 + _globals['_MSGACTIVATECONTRACTRESPONSE']._serialized_end=652 + _globals['_MSGDEACTIVATECONTRACT']._serialized_start=654 + _globals['_MSGDEACTIVATECONTRACT']._serialized_end=732 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_start=734 + _globals['_MSGDEACTIVATECONTRACTRESPONSE']._serialized_end=765 + _globals['_MSGUPDATEPARAMS']._serialized_start=768 + _globals['_MSGUPDATEPARAMS']._serialized_end=896 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=898 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=923 + _globals['_MSGREGISTERCONTRACT']._serialized_start=926 + _globals['_MSGREGISTERCONTRACT']._serialized_end=1070 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_start=1072 + _globals['_MSGREGISTERCONTRACTRESPONSE']._serialized_end=1101 + _globals['_MSG']._serialized_start=1104 + _globals['_MSG']._serialized_end=1802 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py new file mode 100644 index 00000000..fe1b58d0 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/tx_pb2_grpc.py @@ -0,0 +1,234 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from injective.wasmx.v1 import tx_pb2 as injective_dot_wasmx_dot_v1_dot_tx__pb2 + + +class MsgStub(object): + """Msg defines the wasmx Msg service. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdateRegistryContractParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + ) + self.ActivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/ActivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + ) + self.DeactivateRegistryContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + ) + self.ExecuteContractCompat = channel.unary_unary( + '/injective.wasmx.v1.Msg/ExecuteContractCompat', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + ) + self.UpdateParams = channel.unary_unary( + '/injective.wasmx.v1.Msg/UpdateParams', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + ) + self.RegisterContract = channel.unary_unary( + '/injective.wasmx.v1.Msg/RegisterContract', + request_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + response_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + ) + + +class MsgServicer(object): + """Msg defines the wasmx Msg service. + """ + + def UpdateRegistryContractParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ActivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeactivateRegistryContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteContractCompat(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateParams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterContract(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_MsgServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdateRegistryContractParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRegistryContractParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.SerializeToString, + ), + 'ActivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.ActivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.SerializeToString, + ), + 'DeactivateRegistryContract': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateRegistryContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.SerializeToString, + ), + 'ExecuteContractCompat': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteContractCompat, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.SerializeToString, + ), + 'UpdateParams': grpc.unary_unary_rpc_method_handler( + servicer.UpdateParams, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString, + ), + 'RegisterContract': grpc.unary_unary_rpc_method_handler( + servicer.RegisterContract, + request_deserializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.FromString, + response_serializer=injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'injective.wasmx.v1.Msg', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Msg(object): + """Msg defines the wasmx Msg service. + """ + + @staticmethod + def UpdateRegistryContractParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateRegistryContractParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ActivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ActivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgActivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeactivateRegistryContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/DeactivateRegistryContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgDeactivateContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecuteContractCompat(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/ExecuteContractCompat', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompat.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgExecuteContractCompatResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateParams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/UpdateParams', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterContract(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/injective.wasmx.v1.Msg/RegisterContract', + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContract.SerializeToString, + injective_dot_wasmx_dot_v1_dot_tx__pb2.MsgRegisterContractResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py new file mode 100644 index 00000000..707f0df4 --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: injective/wasmx/v1/wasmx.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from injective.wasmx.v1 import proposal_pb2 as injective_dot_wasmx_dot_v1_dot_proposal__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/wasmx/v1/wasmx.proto\x12\x12injective.wasmx.v1\x1a\x14gogoproto/gogo.proto\x1a!injective/wasmx/v1/proposal.proto\"\x86\x01\n\x06Params\x12\x1c\n\x14is_execution_enabled\x18\x01 \x01(\x08\x12!\n\x19max_begin_block_total_gas\x18\x02 \x01(\x04\x12\x1e\n\x16max_contract_gas_limit\x18\x03 \x01(\x04\x12\x15\n\rmin_gas_price\x18\x04 \x01(\x04:\x04\xe8\xa0\x1f\x01\"\xde\x01\n\x12RegisteredContract\x12\x11\n\tgas_limit\x18\x01 \x01(\x04\x12\x11\n\tgas_price\x18\x02 \x01(\x04\x12\x15\n\ris_executable\x18\x03 \x01(\x08\x12\x15\n\x07\x63ode_id\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x01\x12\x1b\n\radmin_address\x18\x05 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x1d\n\x0fgranter_address\x18\x06 \x01(\tB\x04\xc8\xde\x1f\x01\x12\x32\n\tfund_mode\x18\x07 \x01(\x0e\x32\x1f.injective.wasmx.v1.FundingMode:\x04\xe8\xa0\x1f\x01\x42MZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/typesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'injective.wasmx.v1.wasmx_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types' + _PARAMS._options = None + _PARAMS._serialized_options = b'\350\240\037\001' + _REGISTEREDCONTRACT.fields_by_name['code_id']._options = None + _REGISTEREDCONTRACT.fields_by_name['code_id']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['admin_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['admin_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT.fields_by_name['granter_address']._options = None + _REGISTEREDCONTRACT.fields_by_name['granter_address']._serialized_options = b'\310\336\037\001' + _REGISTEREDCONTRACT._options = None + _REGISTEREDCONTRACT._serialized_options = b'\350\240\037\001' + _globals['_PARAMS']._serialized_start=112 + _globals['_PARAMS']._serialized_end=246 + _globals['_REGISTEREDCONTRACT']._serialized_start=249 + _globals['_REGISTEREDCONTRACT']._serialized_end=471 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/injective/wasmx/v1/wasmx_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index 60486546..d8a81353 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -12,14 +12,14 @@ from tendermint.crypto import proof_pb2 as tendermint_dot_crypto_dot_proof__pb2 +from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 from tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 -from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a tendermint/types/validator.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xf2\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x12\x39\n\x0b\x65xtend_vote\x18\x12 \x01(\x0b\x32\".tendermint.abci.RequestExtendVoteH\x00\x12L\n\x15verify_vote_extension\x18\x13 \x01(\x0b\x32+.tendermint.abci.RequestVerifyVoteExtensionH\x00\x12?\n\x0e\x66inalize_block\x18\x14 \x01(\x0b\x32%.tendermint.abci.RequestFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa4\x02\n\x11RequestExtendVote\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\x32\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x0b\n\x03txs\x18\x04 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x05 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x06 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"m\n\x1aRequestVerifyVoteExtension\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x16\n\x0evote_extension\x18\x04 \x01(\x0c\"\xa6\x02\n\x14RequestFinalizeBlock\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12>\n\x13\x64\x65\x63ided_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xbc\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x12:\n\x0b\x65xtend_vote\x18\x13 \x01(\x0b\x32#.tendermint.abci.ResponseExtendVoteH\x00\x12M\n\x15verify_vote_extension\x18\x14 \x01(\x0b\x32,.tendermint.abci.ResponseVerifyVoteExtensionH\x00\x12@\n\x0e\x66inalize_block\x18\x15 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlockH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"\x80\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\tJ\x04\x08\t\x10\x0cR\x06senderR\x08priorityR\rmempool_error\"3\n\x0eResponseCommit\x12\x15\n\rretain_height\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\",\n\x12ResponseExtendVote\x12\x16\n\x0evote_extension\x18\x01 \x01(\x0c\"\x9d\x01\n\x1bResponseVerifyVoteExtension\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus\"3\n\x0cVerifyStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"\xa5\x02\n\x15ResponseFinalizeBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x31\n\ntx_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x41\n\x11validator_updates\x18\x03 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x04 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x05 \x01(\x0c\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"\xd6\x01\n\x0c\x45xecTxResult\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"j\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x33\n\x06result\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ExecTxResultB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"{\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x34\n\rblock_id_flag\x18\x03 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xb8\x01\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x04 \x01(\x0c\x12\x34\n\rblock_id_flag\x18\x05 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlagJ\x04\x08\x02\x10\x03\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\x9d\x0b\n\x04\x41\x42\x43I\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposal\x12U\n\nExtendVote\x12\".tendermint.abci.RequestExtendVote\x1a#.tendermint.abci.ResponseExtendVote\x12p\n\x13VerifyVoteExtension\x12+.tendermint.abci.RequestVerifyVoteExtension\x1a,.tendermint.abci.ResponseVerifyVoteExtension\x12^\n\rFinalizeBlock\x12%.tendermint.abci.RequestFinalizeBlock\x1a&.tendermint.abci.ResponseFinalizeBlockB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btendermint/abci/types.proto\x12\x0ftendermint.abci\x1a\x1dtendermint/crypto/proof.proto\x1a\x1ctendermint/types/types.proto\x1a\x1ctendermint/crypto/keys.proto\x1a\x1dtendermint/types/params.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14gogoproto/gogo.proto\"\xc1\x07\n\x07Request\x12,\n\x04\x65\x63ho\x18\x01 \x01(\x0b\x32\x1c.tendermint.abci.RequestEchoH\x00\x12.\n\x05\x66lush\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.RequestFlushH\x00\x12,\n\x04info\x18\x03 \x01(\x0b\x32\x1c.tendermint.abci.RequestInfoH\x00\x12\x37\n\ninit_chain\x18\x05 \x01(\x0b\x32!.tendermint.abci.RequestInitChainH\x00\x12.\n\x05query\x18\x06 \x01(\x0b\x32\x1d.tendermint.abci.RequestQueryH\x00\x12\x39\n\x0b\x62\x65gin_block\x18\x07 \x01(\x0b\x32\".tendermint.abci.RequestBeginBlockH\x00\x12\x33\n\x08\x63heck_tx\x18\x08 \x01(\x0b\x32\x1f.tendermint.abci.RequestCheckTxH\x00\x12\x37\n\ndeliver_tx\x18\t \x01(\x0b\x32!.tendermint.abci.RequestDeliverTxH\x00\x12\x35\n\tend_block\x18\n \x01(\x0b\x32 .tendermint.abci.RequestEndBlockH\x00\x12\x30\n\x06\x63ommit\x18\x0b \x01(\x0b\x32\x1e.tendermint.abci.RequestCommitH\x00\x12?\n\x0elist_snapshots\x18\x0c \x01(\x0b\x32%.tendermint.abci.RequestListSnapshotsH\x00\x12?\n\x0eoffer_snapshot\x18\r \x01(\x0b\x32%.tendermint.abci.RequestOfferSnapshotH\x00\x12H\n\x13load_snapshot_chunk\x18\x0e \x01(\x0b\x32).tendermint.abci.RequestLoadSnapshotChunkH\x00\x12J\n\x14\x61pply_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.RequestApplySnapshotChunkH\x00\x12\x43\n\x10prepare_proposal\x18\x10 \x01(\x0b\x32\'.tendermint.abci.RequestPrepareProposalH\x00\x12\x43\n\x10process_proposal\x18\x11 \x01(\x0b\x32\'.tendermint.abci.RequestProcessProposalH\x00\x42\x07\n\x05valueJ\x04\x08\x04\x10\x05\"\x1e\n\x0bRequestEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0e\n\x0cRequestFlush\"`\n\x0bRequestInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x15\n\rblock_version\x18\x02 \x01(\x04\x12\x13\n\x0bp2p_version\x18\x03 \x01(\x04\x12\x14\n\x0c\x61\x62\x63i_version\x18\x04 \x01(\t\"\x82\x02\n\x10RequestInitChain\x12\x32\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x10\n\x08\x63hain_id\x18\x02 \x01(\t\x12;\n\x10\x63onsensus_params\x18\x03 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x17\n\x0f\x61pp_state_bytes\x18\x05 \x01(\x0c\x12\x16\n\x0einitial_height\x18\x06 \x01(\x03\"I\n\x0cRequestQuery\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\r\n\x05prove\x18\x04 \x01(\x08\"\xd0\x01\n\x11RequestBeginBlock\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12.\n\x06header\x18\x02 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12;\n\x10last_commit_info\x18\x03 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12@\n\x14\x62yzantine_validators\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\"H\n\x0eRequestCheckTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x1c.tendermint.abci.CheckTxType\"\x1e\n\x10RequestDeliverTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\"!\n\x0fRequestEndBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x0f\n\rRequestCommit\"\x16\n\x14RequestListSnapshots\"U\n\x14RequestOfferSnapshot\x12+\n\x08snapshot\x18\x01 \x01(\x0b\x32\x19.tendermint.abci.Snapshot\x12\x10\n\x08\x61pp_hash\x18\x02 \x01(\x0c\"I\n\x18RequestLoadSnapshotChunk\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\r\n\x05\x63hunk\x18\x03 \x01(\r\"I\n\x19RequestApplySnapshotChunk\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x63hunk\x18\x02 \x01(\x0c\x12\x0e\n\x06sender\x18\x03 \x01(\t\"\xb6\x02\n\x16RequestPrepareProposal\x12\x14\n\x0cmax_tx_bytes\x18\x01 \x01(\x03\x12\x0b\n\x03txs\x18\x02 \x03(\x0c\x12\x44\n\x11local_last_commit\x18\x03 \x01(\x0b\x32#.tendermint.abci.ExtendedCommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x04 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\xa9\x02\n\x16RequestProcessProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\x12?\n\x14proposed_last_commit\x18\x02 \x01(\x0b\x32\x1b.tendermint.abci.CommitInfoB\x04\xc8\xde\x1f\x00\x12\x37\n\x0bmisbehavior\x18\x03 \x03(\x0b\x32\x1c.tendermint.abci.MisbehaviorB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x0e\n\x06height\x18\x05 \x01(\x03\x12\x32\n\x04time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1c\n\x14next_validators_hash\x18\x07 \x01(\x0c\x12\x18\n\x10proposer_address\x18\x08 \x01(\x0c\"\x8b\x08\n\x08Response\x12\x37\n\texception\x18\x01 \x01(\x0b\x32\".tendermint.abci.ResponseExceptionH\x00\x12-\n\x04\x65\x63ho\x18\x02 \x01(\x0b\x32\x1d.tendermint.abci.ResponseEchoH\x00\x12/\n\x05\x66lush\x18\x03 \x01(\x0b\x32\x1e.tendermint.abci.ResponseFlushH\x00\x12-\n\x04info\x18\x04 \x01(\x0b\x32\x1d.tendermint.abci.ResponseInfoH\x00\x12\x38\n\ninit_chain\x18\x06 \x01(\x0b\x32\".tendermint.abci.ResponseInitChainH\x00\x12/\n\x05query\x18\x07 \x01(\x0b\x32\x1e.tendermint.abci.ResponseQueryH\x00\x12:\n\x0b\x62\x65gin_block\x18\x08 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlockH\x00\x12\x34\n\x08\x63heck_tx\x18\t \x01(\x0b\x32 .tendermint.abci.ResponseCheckTxH\x00\x12\x38\n\ndeliver_tx\x18\n \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxH\x00\x12\x36\n\tend_block\x18\x0b \x01(\x0b\x32!.tendermint.abci.ResponseEndBlockH\x00\x12\x31\n\x06\x63ommit\x18\x0c \x01(\x0b\x32\x1f.tendermint.abci.ResponseCommitH\x00\x12@\n\x0elist_snapshots\x18\r \x01(\x0b\x32&.tendermint.abci.ResponseListSnapshotsH\x00\x12@\n\x0eoffer_snapshot\x18\x0e \x01(\x0b\x32&.tendermint.abci.ResponseOfferSnapshotH\x00\x12I\n\x13load_snapshot_chunk\x18\x0f \x01(\x0b\x32*.tendermint.abci.ResponseLoadSnapshotChunkH\x00\x12K\n\x14\x61pply_snapshot_chunk\x18\x10 \x01(\x0b\x32+.tendermint.abci.ResponseApplySnapshotChunkH\x00\x12\x44\n\x10prepare_proposal\x18\x11 \x01(\x0b\x32(.tendermint.abci.ResponsePrepareProposalH\x00\x12\x44\n\x10process_proposal\x18\x12 \x01(\x0b\x32(.tendermint.abci.ResponseProcessProposalH\x00\x42\x07\n\x05valueJ\x04\x08\x05\x10\x06\"\"\n\x11ResponseException\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x1f\n\x0cResponseEcho\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x0f\n\rResponseFlush\"z\n\x0cResponseInfo\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x03 \x01(\x04\x12\x19\n\x11last_block_height\x18\x04 \x01(\x03\x12\x1b\n\x13last_block_app_hash\x18\x05 \x01(\x0c\"\x9e\x01\n\x11ResponseInitChain\x12;\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12:\n\nvalidators\x18\x02 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x10\n\x08\x61pp_hash\x18\x03 \x01(\x0c\"\xb6\x01\n\rResponseQuery\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\r\n\x05index\x18\x05 \x01(\x03\x12\x0b\n\x03key\x18\x06 \x01(\x0c\x12\r\n\x05value\x18\x07 \x01(\x0c\x12.\n\tproof_ops\x18\x08 \x01(\x0b\x32\x1b.tendermint.crypto.ProofOps\x12\x0e\n\x06height\x18\t \x01(\x03\x12\x11\n\tcodespace\x18\n \x01(\t\"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"\x92\x02\n\x0fResponseCheckTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\x12\x0e\n\x06sender\x18\t \x01(\t\x12\x10\n\x08priority\x18\n \x01(\x03\x12\x15\n\rmempool_error\x18\x0b \x01(\t\"\xdb\x01\n\x11ResponseDeliverTx\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x0c\n\x04info\x18\x04 \x01(\t\x12\x1e\n\ngas_wanted\x18\x05 \x01(\x03R\ngas_wanted\x12\x1a\n\x08gas_used\x18\x06 \x01(\x03R\x08gas_used\x12@\n\x06\x65vents\x18\x07 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\x12\x11\n\tcodespace\x18\x08 \x01(\t\"\xdb\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"5\n\x0eResponseCommit\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x15\n\rretain_height\x18\x03 \x01(\x03\"E\n\x15ResponseListSnapshots\x12,\n\tsnapshots\x18\x01 \x03(\x0b\x32\x19.tendermint.abci.Snapshot\"\xb6\x01\n\x15ResponseOfferSnapshot\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.tendermint.abci.ResponseOfferSnapshot.Result\"^\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x11\n\rREJECT_FORMAT\x10\x04\x12\x11\n\rREJECT_SENDER\x10\x05\"*\n\x19ResponseLoadSnapshotChunk\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"\xf2\x01\n\x1aResponseApplySnapshotChunk\x12\x42\n\x06result\x18\x01 \x01(\x0e\x32\x32.tendermint.abci.ResponseApplySnapshotChunk.Result\x12\x16\n\x0erefetch_chunks\x18\x02 \x03(\r\x12\x16\n\x0ereject_senders\x18\x03 \x03(\t\"`\n\x06Result\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\t\n\x05\x41\x42ORT\x10\x02\x12\t\n\x05RETRY\x10\x03\x12\x12\n\x0eRETRY_SNAPSHOT\x10\x04\x12\x13\n\x0fREJECT_SNAPSHOT\x10\x05\"&\n\x17ResponsePrepareProposal\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x99\x01\n\x17ResponseProcessProposal\x12G\n\x06status\x18\x01 \x01(\x0e\x32\x37.tendermint.abci.ResponseProcessProposal.ProposalStatus\"5\n\x0eProposalStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\n\n\x06REJECT\x10\x02\"K\n\nCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12.\n\x05votes\x18\x02 \x03(\x0b\x32\x19.tendermint.abci.VoteInfoB\x04\xc8\xde\x1f\x00\"[\n\x12\x45xtendedCommitInfo\x12\r\n\x05round\x18\x01 \x01(\x05\x12\x36\n\x05votes\x18\x02 \x03(\x0b\x32!.tendermint.abci.ExtendedVoteInfoB\x04\xc8\xde\x1f\x00\"h\n\x05\x45vent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12Q\n\nattributes\x18\x02 \x03(\x0b\x32\x1f.tendermint.abci.EventAttributeB\x1c\xc8\xde\x1f\x00\xea\xde\x1f\x14\x61ttributes,omitempty\";\n\x0e\x45ventAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x08\"o\n\x08TxResult\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05index\x18\x02 \x01(\r\x12\n\n\x02tx\x18\x03 \x01(\x0c\x12\x38\n\x06result\x18\x04 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTxB\x04\xc8\xde\x1f\x00\"+\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x03 \x01(\x03\"U\n\x0fValidatorUpdate\x12\x33\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\r\n\x05power\x18\x02 \x01(\x03\"Z\n\x08VoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08\"z\n\x10\x45xtendedVoteInfo\x12\x33\n\tvalidator\x18\x01 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x19\n\x11signed_last_block\x18\x02 \x01(\x08\x12\x16\n\x0evote_extension\x18\x03 \x01(\x0c\"\xd2\x01\n\x0bMisbehavior\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .tendermint.abci.MisbehaviorType\x12\x33\n\tvalidator\x18\x02 \x01(\x0b\x32\x1a.tendermint.abci.ValidatorB\x04\xc8\xde\x1f\x00\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1a\n\x12total_voting_power\x18\x05 \x01(\x03\"Z\n\x08Snapshot\x12\x0e\n\x06height\x18\x01 \x01(\x04\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0e\n\x06\x63hunks\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08metadata\x18\x05 \x01(\x0c*9\n\x0b\x43heckTxType\x12\x10\n\x03NEW\x10\x00\x1a\x07\x8a\x9d \x03New\x12\x18\n\x07RECHECK\x10\x01\x1a\x0b\x8a\x9d \x07Recheck*K\n\x0fMisbehaviorType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x44UPLICATE_VOTE\x10\x01\x12\x17\n\x13LIGHT_CLIENT_ATTACK\x10\x02\x32\xfb\n\n\x0f\x41\x42\x43IApplication\x12\x43\n\x04\x45\x63ho\x12\x1c.tendermint.abci.RequestEcho\x1a\x1d.tendermint.abci.ResponseEcho\x12\x46\n\x05\x46lush\x12\x1d.tendermint.abci.RequestFlush\x1a\x1e.tendermint.abci.ResponseFlush\x12\x43\n\x04Info\x12\x1c.tendermint.abci.RequestInfo\x1a\x1d.tendermint.abci.ResponseInfo\x12R\n\tDeliverTx\x12!.tendermint.abci.RequestDeliverTx\x1a\".tendermint.abci.ResponseDeliverTx\x12L\n\x07\x43heckTx\x12\x1f.tendermint.abci.RequestCheckTx\x1a .tendermint.abci.ResponseCheckTx\x12\x46\n\x05Query\x12\x1d.tendermint.abci.RequestQuery\x1a\x1e.tendermint.abci.ResponseQuery\x12I\n\x06\x43ommit\x12\x1e.tendermint.abci.RequestCommit\x1a\x1f.tendermint.abci.ResponseCommit\x12R\n\tInitChain\x12!.tendermint.abci.RequestInitChain\x1a\".tendermint.abci.ResponseInitChain\x12U\n\nBeginBlock\x12\".tendermint.abci.RequestBeginBlock\x1a#.tendermint.abci.ResponseBeginBlock\x12O\n\x08\x45ndBlock\x12 .tendermint.abci.RequestEndBlock\x1a!.tendermint.abci.ResponseEndBlock\x12^\n\rListSnapshots\x12%.tendermint.abci.RequestListSnapshots\x1a&.tendermint.abci.ResponseListSnapshots\x12^\n\rOfferSnapshot\x12%.tendermint.abci.RequestOfferSnapshot\x1a&.tendermint.abci.ResponseOfferSnapshot\x12j\n\x11LoadSnapshotChunk\x12).tendermint.abci.RequestLoadSnapshotChunk\x1a*.tendermint.abci.ResponseLoadSnapshotChunk\x12m\n\x12\x41pplySnapshotChunk\x12*.tendermint.abci.RequestApplySnapshotChunk\x1a+.tendermint.abci.ResponseApplySnapshotChunk\x12\x64\n\x0fPrepareProposal\x12\'.tendermint.abci.RequestPrepareProposal\x1a(.tendermint.abci.ResponsePrepareProposal\x12\x64\n\x0fProcessProposal\x12\'.tendermint.abci.RequestProcessProposal\x1a(.tendermint.abci.ResponseProcessProposalB)Z\'github.com/cometbft/cometbft/abci/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -36,6 +36,12 @@ _REQUESTINITCHAIN.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' _REQUESTINITCHAIN.fields_by_name['validators']._options = None _REQUESTINITCHAIN.fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _REQUESTBEGINBLOCK.fields_by_name['header']._options = None + _REQUESTBEGINBLOCK.fields_by_name['header']._serialized_options = b'\310\336\037\000' + _REQUESTBEGINBLOCK.fields_by_name['last_commit_info']._options = None + _REQUESTBEGINBLOCK.fields_by_name['last_commit_info']._serialized_options = b'\310\336\037\000' + _REQUESTBEGINBLOCK.fields_by_name['byzantine_validators']._options = None + _REQUESTBEGINBLOCK.fields_by_name['byzantine_validators']._serialized_options = b'\310\336\037\000' _REQUESTPREPAREPROPOSAL.fields_by_name['local_last_commit']._options = None _REQUESTPREPAREPROPOSAL.fields_by_name['local_last_commit']._serialized_options = b'\310\336\037\000' _REQUESTPREPAREPROPOSAL.fields_by_name['misbehavior']._options = None @@ -48,34 +54,24 @@ _REQUESTPROCESSPROPOSAL.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' _REQUESTPROCESSPROPOSAL.fields_by_name['time']._options = None _REQUESTPROCESSPROPOSAL.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _REQUESTEXTENDVOTE.fields_by_name['time']._options = None - _REQUESTEXTENDVOTE.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _REQUESTEXTENDVOTE.fields_by_name['proposed_last_commit']._options = None - _REQUESTEXTENDVOTE.fields_by_name['proposed_last_commit']._serialized_options = b'\310\336\037\000' - _REQUESTEXTENDVOTE.fields_by_name['misbehavior']._options = None - _REQUESTEXTENDVOTE.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._options = None - _REQUESTFINALIZEBLOCK.fields_by_name['decided_last_commit']._serialized_options = b'\310\336\037\000' - _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._options = None - _REQUESTFINALIZEBLOCK.fields_by_name['misbehavior']._serialized_options = b'\310\336\037\000' - _REQUESTFINALIZEBLOCK.fields_by_name['time']._options = None - _REQUESTFINALIZEBLOCK.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' _RESPONSEINITCHAIN.fields_by_name['validators']._options = None _RESPONSEINITCHAIN.fields_by_name['validators']._serialized_options = b'\310\336\037\000' + _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None + _RESPONSEBEGINBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _RESPONSECHECKTX.fields_by_name['events']._options = None _RESPONSECHECKTX.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEFINALIZEBLOCK.fields_by_name['events']._options = None - _RESPONSEFINALIZEBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEFINALIZEBLOCK.fields_by_name['validator_updates']._options = None - _RESPONSEFINALIZEBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _RESPONSEDELIVERTX.fields_by_name['events']._options = None + _RESPONSEDELIVERTX.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' + _RESPONSEENDBLOCK.fields_by_name['validator_updates']._options = None + _RESPONSEENDBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' + _RESPONSEENDBLOCK.fields_by_name['events']._options = None + _RESPONSEENDBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _COMMITINFO.fields_by_name['votes']._options = None _COMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' _EXTENDEDCOMMITINFO.fields_by_name['votes']._options = None _EXTENDEDCOMMITINFO.fields_by_name['votes']._serialized_options = b'\310\336\037\000' _EVENT.fields_by_name['attributes']._options = None _EVENT.fields_by_name['attributes']._serialized_options = b'\310\336\037\000\352\336\037\024attributes,omitempty' - _EXECTXRESULT.fields_by_name['events']._options = None - _EXECTXRESULT.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _TXRESULT.fields_by_name['result']._options = None _TXRESULT.fields_by_name['result']._serialized_options = b'\310\336\037\000' _VALIDATORUPDATE.fields_by_name['pub_key']._options = None @@ -88,112 +84,108 @@ _MISBEHAVIOR.fields_by_name['validator']._serialized_options = b'\310\336\037\000' _MISBEHAVIOR.fields_by_name['time']._options = None _MISBEHAVIOR.fields_by_name['time']._serialized_options = b'\310\336\037\000\220\337\037\001' - _globals['_CHECKTXTYPE']._serialized_start=8001 - _globals['_CHECKTXTYPE']._serialized_end=8058 - _globals['_MISBEHAVIORTYPE']._serialized_start=8060 - _globals['_MISBEHAVIORTYPE']._serialized_end=8135 - _globals['_REQUEST']._serialized_start=230 - _globals['_REQUEST']._serialized_end=1240 - _globals['_REQUESTECHO']._serialized_start=1242 - _globals['_REQUESTECHO']._serialized_end=1272 - _globals['_REQUESTFLUSH']._serialized_start=1274 - _globals['_REQUESTFLUSH']._serialized_end=1288 - _globals['_REQUESTINFO']._serialized_start=1290 - _globals['_REQUESTINFO']._serialized_end=1386 - _globals['_REQUESTINITCHAIN']._serialized_start=1389 - _globals['_REQUESTINITCHAIN']._serialized_end=1647 - _globals['_REQUESTQUERY']._serialized_start=1649 - _globals['_REQUESTQUERY']._serialized_end=1722 - _globals['_REQUESTCHECKTX']._serialized_start=1724 - _globals['_REQUESTCHECKTX']._serialized_end=1796 - _globals['_REQUESTCOMMIT']._serialized_start=1798 - _globals['_REQUESTCOMMIT']._serialized_end=1813 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=1815 - _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=1837 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=1839 - _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=1924 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=1926 - _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=1999 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2001 - _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2074 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2077 - _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2387 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2390 - _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2687 - _globals['_REQUESTEXTENDVOTE']._serialized_start=2690 - _globals['_REQUESTEXTENDVOTE']._serialized_end=2982 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=2984 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=3093 - _globals['_REQUESTFINALIZEBLOCK']._serialized_start=3096 - _globals['_REQUESTFINALIZEBLOCK']._serialized_end=3390 - _globals['_RESPONSE']._serialized_start=3393 - _globals['_RESPONSE']._serialized_end=4477 - _globals['_RESPONSEEXCEPTION']._serialized_start=4479 - _globals['_RESPONSEEXCEPTION']._serialized_end=4513 - _globals['_RESPONSEECHO']._serialized_start=4515 - _globals['_RESPONSEECHO']._serialized_end=4546 - _globals['_RESPONSEFLUSH']._serialized_start=4548 - _globals['_RESPONSEFLUSH']._serialized_end=4563 - _globals['_RESPONSEINFO']._serialized_start=4565 - _globals['_RESPONSEINFO']._serialized_end=4687 - _globals['_RESPONSEINITCHAIN']._serialized_start=4690 - _globals['_RESPONSEINITCHAIN']._serialized_end=4848 - _globals['_RESPONSEQUERY']._serialized_start=4851 - _globals['_RESPONSEQUERY']._serialized_end=5033 - _globals['_RESPONSECHECKTX']._serialized_start=5036 - _globals['_RESPONSECHECKTX']._serialized_end=5292 - _globals['_RESPONSECOMMIT']._serialized_start=5294 - _globals['_RESPONSECOMMIT']._serialized_end=5345 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5347 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5416 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5419 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5601 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5507 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5601 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5603 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5645 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5648 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5890 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5794 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5890 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5892 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5930 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5933 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=6086 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=6033 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=6086 - _globals['_RESPONSEEXTENDVOTE']._serialized_start=6088 - _globals['_RESPONSEEXTENDVOTE']._serialized_end=6132 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=6135 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=6292 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=6241 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=6292 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=6295 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=6588 - _globals['_COMMITINFO']._serialized_start=6590 - _globals['_COMMITINFO']._serialized_end=6665 - _globals['_EXTENDEDCOMMITINFO']._serialized_start=6667 - _globals['_EXTENDEDCOMMITINFO']._serialized_end=6758 - _globals['_EVENT']._serialized_start=6760 - _globals['_EVENT']._serialized_end=6864 - _globals['_EVENTATTRIBUTE']._serialized_start=6866 - _globals['_EVENTATTRIBUTE']._serialized_end=6925 - _globals['_EXECTXRESULT']._serialized_start=6928 - _globals['_EXECTXRESULT']._serialized_end=7142 - _globals['_TXRESULT']._serialized_start=7144 - _globals['_TXRESULT']._serialized_end=7250 - _globals['_VALIDATOR']._serialized_start=7252 - _globals['_VALIDATOR']._serialized_end=7295 - _globals['_VALIDATORUPDATE']._serialized_start=7297 - _globals['_VALIDATORUPDATE']._serialized_end=7382 - _globals['_VOTEINFO']._serialized_start=7384 - _globals['_VOTEINFO']._serialized_end=7507 - _globals['_EXTENDEDVOTEINFO']._serialized_start=7510 - _globals['_EXTENDEDVOTEINFO']._serialized_end=7694 - _globals['_MISBEHAVIOR']._serialized_start=7697 - _globals['_MISBEHAVIOR']._serialized_end=7907 - _globals['_SNAPSHOT']._serialized_start=7909 - _globals['_SNAPSHOT']._serialized_end=7999 - _globals['_ABCI']._serialized_start=8138 - _globals['_ABCI']._serialized_end=9575 + _globals['_CHECKTXTYPE']._serialized_start=7216 + _globals['_CHECKTXTYPE']._serialized_end=7273 + _globals['_MISBEHAVIORTYPE']._serialized_start=7275 + _globals['_MISBEHAVIORTYPE']._serialized_end=7350 + _globals['_REQUEST']._serialized_start=226 + _globals['_REQUEST']._serialized_end=1187 + _globals['_REQUESTECHO']._serialized_start=1189 + _globals['_REQUESTECHO']._serialized_end=1219 + _globals['_REQUESTFLUSH']._serialized_start=1221 + _globals['_REQUESTFLUSH']._serialized_end=1235 + _globals['_REQUESTINFO']._serialized_start=1237 + _globals['_REQUESTINFO']._serialized_end=1333 + _globals['_REQUESTINITCHAIN']._serialized_start=1336 + _globals['_REQUESTINITCHAIN']._serialized_end=1594 + _globals['_REQUESTQUERY']._serialized_start=1596 + _globals['_REQUESTQUERY']._serialized_end=1669 + _globals['_REQUESTBEGINBLOCK']._serialized_start=1672 + _globals['_REQUESTBEGINBLOCK']._serialized_end=1880 + _globals['_REQUESTCHECKTX']._serialized_start=1882 + _globals['_REQUESTCHECKTX']._serialized_end=1954 + _globals['_REQUESTDELIVERTX']._serialized_start=1956 + _globals['_REQUESTDELIVERTX']._serialized_end=1986 + _globals['_REQUESTENDBLOCK']._serialized_start=1988 + _globals['_REQUESTENDBLOCK']._serialized_end=2021 + _globals['_REQUESTCOMMIT']._serialized_start=2023 + _globals['_REQUESTCOMMIT']._serialized_end=2038 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_start=2040 + _globals['_REQUESTLISTSNAPSHOTS']._serialized_end=2062 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_start=2064 + _globals['_REQUESTOFFERSNAPSHOT']._serialized_end=2149 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_start=2151 + _globals['_REQUESTLOADSNAPSHOTCHUNK']._serialized_end=2224 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_start=2226 + _globals['_REQUESTAPPLYSNAPSHOTCHUNK']._serialized_end=2299 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_start=2302 + _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2612 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2615 + _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2912 + _globals['_RESPONSE']._serialized_start=2915 + _globals['_RESPONSE']._serialized_end=3950 + _globals['_RESPONSEEXCEPTION']._serialized_start=3952 + _globals['_RESPONSEEXCEPTION']._serialized_end=3986 + _globals['_RESPONSEECHO']._serialized_start=3988 + _globals['_RESPONSEECHO']._serialized_end=4019 + _globals['_RESPONSEFLUSH']._serialized_start=4021 + _globals['_RESPONSEFLUSH']._serialized_end=4036 + _globals['_RESPONSEINFO']._serialized_start=4038 + _globals['_RESPONSEINFO']._serialized_end=4160 + _globals['_RESPONSEINITCHAIN']._serialized_start=4163 + _globals['_RESPONSEINITCHAIN']._serialized_end=4321 + _globals['_RESPONSEQUERY']._serialized_start=4324 + _globals['_RESPONSEQUERY']._serialized_end=4506 + _globals['_RESPONSEBEGINBLOCK']._serialized_start=4508 + _globals['_RESPONSEBEGINBLOCK']._serialized_end=4594 + _globals['_RESPONSECHECKTX']._serialized_start=4597 + _globals['_RESPONSECHECKTX']._serialized_end=4871 + _globals['_RESPONSEDELIVERTX']._serialized_start=4874 + _globals['_RESPONSEDELIVERTX']._serialized_end=5093 + _globals['_RESPONSEENDBLOCK']._serialized_start=5096 + _globals['_RESPONSEENDBLOCK']._serialized_end=5315 + _globals['_RESPONSECOMMIT']._serialized_start=5317 + _globals['_RESPONSECOMMIT']._serialized_end=5370 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5372 + _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5441 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5444 + _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5626 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5532 + _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5626 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5628 + _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5670 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5673 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5915 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5819 + _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5915 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5917 + _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5955 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5958 + _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=6111 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=6058 + _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=6111 + _globals['_COMMITINFO']._serialized_start=6113 + _globals['_COMMITINFO']._serialized_end=6188 + _globals['_EXTENDEDCOMMITINFO']._serialized_start=6190 + _globals['_EXTENDEDCOMMITINFO']._serialized_end=6281 + _globals['_EVENT']._serialized_start=6283 + _globals['_EVENT']._serialized_end=6387 + _globals['_EVENTATTRIBUTE']._serialized_start=6389 + _globals['_EVENTATTRIBUTE']._serialized_end=6448 + _globals['_TXRESULT']._serialized_start=6450 + _globals['_TXRESULT']._serialized_end=6561 + _globals['_VALIDATOR']._serialized_start=6563 + _globals['_VALIDATOR']._serialized_end=6606 + _globals['_VALIDATORUPDATE']._serialized_start=6608 + _globals['_VALIDATORUPDATE']._serialized_end=6693 + _globals['_VOTEINFO']._serialized_start=6695 + _globals['_VOTEINFO']._serialized_end=6785 + _globals['_EXTENDEDVOTEINFO']._serialized_start=6787 + _globals['_EXTENDEDVOTEINFO']._serialized_end=6909 + _globals['_MISBEHAVIOR']._serialized_start=6912 + _globals['_MISBEHAVIOR']._serialized_end=7122 + _globals['_SNAPSHOT']._serialized_start=7124 + _globals['_SNAPSHOT']._serialized_end=7214 + _globals['_ABCIAPPLICATION']._serialized_start=7353 + _globals['_ABCIAPPLICATION']._serialized_end=8756 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py index 788fb2bb..24094065 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2_grpc.py +++ b/pyinjective/proto/tendermint/abci/types_pb2_grpc.py @@ -5,9 +5,9 @@ from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -class ABCIStub(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues +class ABCIApplicationStub(object): + """---------------------------------------- + Service Definition """ @@ -18,90 +18,90 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Echo = channel.unary_unary( - '/tendermint.abci.ABCI/Echo', + '/tendermint.abci.ABCIApplication/Echo', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, ) self.Flush = channel.unary_unary( - '/tendermint.abci.ABCI/Flush', + '/tendermint.abci.ABCIApplication/Flush', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, ) self.Info = channel.unary_unary( - '/tendermint.abci.ABCI/Info', + '/tendermint.abci.ABCIApplication/Info', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, ) + self.DeliverTx = channel.unary_unary( + '/tendermint.abci.ABCIApplication/DeliverTx', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.FromString, + ) self.CheckTx = channel.unary_unary( - '/tendermint.abci.ABCI/CheckTx', + '/tendermint.abci.ABCIApplication/CheckTx', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, ) self.Query = channel.unary_unary( - '/tendermint.abci.ABCI/Query', + '/tendermint.abci.ABCIApplication/Query', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, ) self.Commit = channel.unary_unary( - '/tendermint.abci.ABCI/Commit', + '/tendermint.abci.ABCIApplication/Commit', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, ) self.InitChain = channel.unary_unary( - '/tendermint.abci.ABCI/InitChain', + '/tendermint.abci.ABCIApplication/InitChain', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, ) + self.BeginBlock = channel.unary_unary( + '/tendermint.abci.ABCIApplication/BeginBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.FromString, + ) + self.EndBlock = channel.unary_unary( + '/tendermint.abci.ABCIApplication/EndBlock', + request_serializer=tendermint_dot_abci_dot_types__pb2.RequestEndBlock.SerializeToString, + response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.FromString, + ) self.ListSnapshots = channel.unary_unary( - '/tendermint.abci.ABCI/ListSnapshots', + '/tendermint.abci.ABCIApplication/ListSnapshots', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, ) self.OfferSnapshot = channel.unary_unary( - '/tendermint.abci.ABCI/OfferSnapshot', + '/tendermint.abci.ABCIApplication/OfferSnapshot', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, ) self.LoadSnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/LoadSnapshotChunk', + '/tendermint.abci.ABCIApplication/LoadSnapshotChunk', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, ) self.ApplySnapshotChunk = channel.unary_unary( - '/tendermint.abci.ABCI/ApplySnapshotChunk', + '/tendermint.abci.ABCIApplication/ApplySnapshotChunk', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, ) self.PrepareProposal = channel.unary_unary( - '/tendermint.abci.ABCI/PrepareProposal', + '/tendermint.abci.ABCIApplication/PrepareProposal', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, ) self.ProcessProposal = channel.unary_unary( - '/tendermint.abci.ABCI/ProcessProposal', + '/tendermint.abci.ABCIApplication/ProcessProposal', request_serializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, ) - self.ExtendVote = channel.unary_unary( - '/tendermint.abci.ABCI/ExtendVote', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, - ) - self.VerifyVoteExtension = channel.unary_unary( - '/tendermint.abci.ABCI/VerifyVoteExtension', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, - ) - self.FinalizeBlock = channel.unary_unary( - '/tendermint.abci.ABCI/FinalizeBlock', - request_serializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - response_deserializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, - ) -class ABCIServicer(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues +class ABCIApplicationServicer(object): + """---------------------------------------- + Service Definition """ @@ -123,86 +123,86 @@ def Info(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def CheckTx(self, request, context): + def DeliverTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Query(self, request, context): + def CheckTx(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Commit(self, request, context): + def Query(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def InitChain(self, request, context): + def Commit(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ListSnapshots(self, request, context): + def InitChain(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def OfferSnapshot(self, request, context): + def BeginBlock(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def LoadSnapshotChunk(self, request, context): + def EndBlock(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ApplySnapshotChunk(self, request, context): + def ListSnapshots(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def PrepareProposal(self, request, context): + def OfferSnapshot(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ProcessProposal(self, request, context): + def LoadSnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def ExtendVote(self, request, context): + def ApplySnapshotChunk(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def VerifyVoteExtension(self, request, context): + def PrepareProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def FinalizeBlock(self, request, context): + def ProcessProposal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') -def add_ABCIServicer_to_server(servicer, server): +def add_ABCIApplicationServicer_to_server(servicer, server): rpc_method_handlers = { 'Echo': grpc.unary_unary_rpc_method_handler( servicer.Echo, @@ -219,6 +219,11 @@ def add_ABCIServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInfo.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInfo.SerializeToString, ), + 'DeliverTx': grpc.unary_unary_rpc_method_handler( + servicer.DeliverTx, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.SerializeToString, + ), 'CheckTx': grpc.unary_unary_rpc_method_handler( servicer.CheckTx, request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestCheckTx.FromString, @@ -239,6 +244,16 @@ def add_ABCIServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestInitChain.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseInitChain.SerializeToString, ), + 'BeginBlock': grpc.unary_unary_rpc_method_handler( + servicer.BeginBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.SerializeToString, + ), + 'EndBlock': grpc.unary_unary_rpc_method_handler( + servicer.EndBlock, + request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestEndBlock.FromString, + response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.SerializeToString, + ), 'ListSnapshots': grpc.unary_unary_rpc_method_handler( servicer.ListSnapshots, request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.FromString, @@ -269,31 +284,16 @@ def add_ABCIServicer_to_server(servicer, server): request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.FromString, response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.SerializeToString, ), - 'ExtendVote': grpc.unary_unary_rpc_method_handler( - servicer.ExtendVote, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestExtendVote.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.SerializeToString, - ), - 'VerifyVoteExtension': grpc.unary_unary_rpc_method_handler( - servicer.VerifyVoteExtension, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.SerializeToString, - ), - 'FinalizeBlock': grpc.unary_unary_rpc_method_handler( - servicer.FinalizeBlock, - request_deserializer=tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.FromString, - response_serializer=tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.abci.ABCI', rpc_method_handlers) + 'tendermint.abci.ABCIApplication', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) # This class is part of an EXPERIMENTAL API. -class ABCI(object): - """NOTE: When using custom types, mind the warnings. - https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues +class ABCIApplication(object): + """---------------------------------------- + Service Definition """ @@ -308,7 +308,7 @@ def Echo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Echo', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Echo', tendermint_dot_abci_dot_types__pb2.RequestEcho.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseEcho.FromString, options, channel_credentials, @@ -325,7 +325,7 @@ def Flush(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Flush', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Flush', tendermint_dot_abci_dot_types__pb2.RequestFlush.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseFlush.FromString, options, channel_credentials, @@ -342,14 +342,14 @@ def Info(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Info', + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Info', tendermint_dot_abci_dot_types__pb2.RequestInfo.SerializeToString, tendermint_dot_abci_dot_types__pb2.ResponseInfo.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def CheckTx(request, + def DeliverTx(request, target, options=(), channel_credentials=None, @@ -359,14 +359,14 @@ def CheckTx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/CheckTx', - tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/DeliverTx', + tendermint_dot_abci_dot_types__pb2.RequestDeliverTx.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseDeliverTx.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Query(request, + def CheckTx(request, target, options=(), channel_credentials=None, @@ -376,14 +376,14 @@ def Query(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Query', - tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/CheckTx', + tendermint_dot_abci_dot_types__pb2.RequestCheckTx.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCheckTx.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def Commit(request, + def Query(request, target, options=(), channel_credentials=None, @@ -393,14 +393,14 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/Commit', - tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Query', + tendermint_dot_abci_dot_types__pb2.RequestQuery.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseQuery.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def InitChain(request, + def Commit(request, target, options=(), channel_credentials=None, @@ -410,14 +410,14 @@ def InitChain(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/InitChain', - tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/Commit', + tendermint_dot_abci_dot_types__pb2.RequestCommit.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseCommit.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ListSnapshots(request, + def InitChain(request, target, options=(), channel_credentials=None, @@ -427,14 +427,14 @@ def ListSnapshots(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ListSnapshots', - tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/InitChain', + tendermint_dot_abci_dot_types__pb2.RequestInitChain.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseInitChain.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def OfferSnapshot(request, + def BeginBlock(request, target, options=(), channel_credentials=None, @@ -444,14 +444,14 @@ def OfferSnapshot(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/OfferSnapshot', - tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/BeginBlock', + tendermint_dot_abci_dot_types__pb2.RequestBeginBlock.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseBeginBlock.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def LoadSnapshotChunk(request, + def EndBlock(request, target, options=(), channel_credentials=None, @@ -461,14 +461,14 @@ def LoadSnapshotChunk(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/LoadSnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/EndBlock', + tendermint_dot_abci_dot_types__pb2.RequestEndBlock.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseEndBlock.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ApplySnapshotChunk(request, + def ListSnapshots(request, target, options=(), channel_credentials=None, @@ -478,14 +478,14 @@ def ApplySnapshotChunk(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ApplySnapshotChunk', - tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ListSnapshots', + tendermint_dot_abci_dot_types__pb2.RequestListSnapshots.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseListSnapshots.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def PrepareProposal(request, + def OfferSnapshot(request, target, options=(), channel_credentials=None, @@ -495,14 +495,14 @@ def PrepareProposal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/PrepareProposal', - tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/OfferSnapshot', + tendermint_dot_abci_dot_types__pb2.RequestOfferSnapshot.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseOfferSnapshot.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ProcessProposal(request, + def LoadSnapshotChunk(request, target, options=(), channel_credentials=None, @@ -512,14 +512,14 @@ def ProcessProposal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ProcessProposal', - tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/LoadSnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestLoadSnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseLoadSnapshotChunk.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def ExtendVote(request, + def ApplySnapshotChunk(request, target, options=(), channel_credentials=None, @@ -529,14 +529,14 @@ def ExtendVote(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/ExtendVote', - tendermint_dot_abci_dot_types__pb2.RequestExtendVote.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseExtendVote.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ApplySnapshotChunk', + tendermint_dot_abci_dot_types__pb2.RequestApplySnapshotChunk.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseApplySnapshotChunk.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def VerifyVoteExtension(request, + def PrepareProposal(request, target, options=(), channel_credentials=None, @@ -546,14 +546,14 @@ def VerifyVoteExtension(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/VerifyVoteExtension', - tendermint_dot_abci_dot_types__pb2.RequestVerifyVoteExtension.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseVerifyVoteExtension.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/PrepareProposal', + tendermint_dot_abci_dot_types__pb2.RequestPrepareProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponsePrepareProposal.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def FinalizeBlock(request, + def ProcessProposal(request, target, options=(), channel_credentials=None, @@ -563,8 +563,8 @@ def FinalizeBlock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCI/FinalizeBlock', - tendermint_dot_abci_dot_types__pb2.RequestFinalizeBlock.SerializeToString, - tendermint_dot_abci_dot_types__pb2.ResponseFinalizeBlock.FromString, + return grpc.experimental.unary_unary(request, target, '/tendermint.abci.ABCIApplication/ProcessProposal', + tendermint_dot_abci_dot_types__pb2.RequestProcessProposal.SerializeToString, + tendermint_dot_abci_dot_types__pb2.ResponseProcessProposal.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/blocksync/types_pb2.py b/pyinjective/proto/tendermint/blocksync/types_pb2.py index 7211647e..49da45e5 100644 --- a/pyinjective/proto/tendermint/blocksync/types_pb2.py +++ b/pyinjective/proto/tendermint/blocksync/types_pb2.py @@ -12,10 +12,9 @@ from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 -from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/blocksync/types.proto\x12\x14tendermint.blocksync\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"\x1e\n\x0c\x42lockRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"!\n\x0fNoBlockResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"m\n\rBlockResponse\x12&\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.Block\x12\x34\n\next_commit\x18\x02 \x01(\x0b\x32 .tendermint.types.ExtendedCommit\"\x0f\n\rStatusRequest\".\n\x0eStatusResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\x03\"\xd0\x02\n\x07Message\x12;\n\rblock_request\x18\x01 \x01(\x0b\x32\".tendermint.blocksync.BlockRequestH\x00\x12\x42\n\x11no_block_response\x18\x02 \x01(\x0b\x32%.tendermint.blocksync.NoBlockResponseH\x00\x12=\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32#.tendermint.blocksync.BlockResponseH\x00\x12=\n\x0estatus_request\x18\x04 \x01(\x0b\x32#.tendermint.blocksync.StatusRequestH\x00\x12?\n\x0fstatus_response\x18\x05 \x01(\x0b\x32$.tendermint.blocksync.StatusResponseH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/blocksyncb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/blocksync/types.proto\x12\x14tendermint.blocksync\x1a\x1ctendermint/types/block.proto\"\x1e\n\x0c\x42lockRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"!\n\x0fNoBlockResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\"7\n\rBlockResponse\x12&\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x17.tendermint.types.Block\"\x0f\n\rStatusRequest\".\n\x0eStatusResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61se\x18\x02 \x01(\x03\"\xd0\x02\n\x07Message\x12;\n\rblock_request\x18\x01 \x01(\x0b\x32\".tendermint.blocksync.BlockRequestH\x00\x12\x42\n\x11no_block_response\x18\x02 \x01(\x0b\x32%.tendermint.blocksync.NoBlockResponseH\x00\x12=\n\x0e\x62lock_response\x18\x03 \x01(\x0b\x32#.tendermint.blocksync.BlockResponseH\x00\x12=\n\x0estatus_request\x18\x04 \x01(\x0b\x32#.tendermint.blocksync.StatusRequestH\x00\x12?\n\x0fstatus_response\x18\x05 \x01(\x0b\x32$.tendermint.blocksync.StatusResponseH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/blocksyncb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,16 +23,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/blocksync' - _globals['_BLOCKREQUEST']._serialized_start=118 - _globals['_BLOCKREQUEST']._serialized_end=148 - _globals['_NOBLOCKRESPONSE']._serialized_start=150 - _globals['_NOBLOCKRESPONSE']._serialized_end=183 - _globals['_BLOCKRESPONSE']._serialized_start=185 - _globals['_BLOCKRESPONSE']._serialized_end=294 - _globals['_STATUSREQUEST']._serialized_start=296 - _globals['_STATUSREQUEST']._serialized_end=311 - _globals['_STATUSRESPONSE']._serialized_start=313 - _globals['_STATUSRESPONSE']._serialized_end=359 - _globals['_MESSAGE']._serialized_start=362 - _globals['_MESSAGE']._serialized_end=698 + _globals['_BLOCKREQUEST']._serialized_start=88 + _globals['_BLOCKREQUEST']._serialized_end=118 + _globals['_NOBLOCKRESPONSE']._serialized_start=120 + _globals['_NOBLOCKRESPONSE']._serialized_end=153 + _globals['_BLOCKRESPONSE']._serialized_start=155 + _globals['_BLOCKRESPONSE']._serialized_end=210 + _globals['_STATUSREQUEST']._serialized_start=212 + _globals['_STATUSREQUEST']._serialized_end=227 + _globals['_STATUSRESPONSE']._serialized_start=229 + _globals['_STATUSRESPONSE']._serialized_end=275 + _globals['_MESSAGE']._serialized_start=278 + _globals['_MESSAGE']._serialized_end=614 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/consensus/types_pb2.py b/pyinjective/proto/tendermint/consensus/types_pb2.py index 8cf67304..2dabf594 100644 --- a/pyinjective/proto/tendermint/consensus/types_pb2.py +++ b/pyinjective/proto/tendermint/consensus/types_pb2.py @@ -16,7 +16,7 @@ from tendermint.libs.bits import types_pb2 as tendermint_dot_libs_dot_bits_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"D\n\x14HasProposalBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\r\n\x05index\x18\x03 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\xdc\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x12M\n\x17has_proposal_block_part\x18\n \x01(\x0b\x32*.tendermint.consensus.HasProposalBlockPartH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/consensus/types.proto\x12\x14tendermint.consensus\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/libs/bits/types.proto\"x\n\x0cNewRoundStep\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\r\x12 \n\x18seconds_since_start_time\x18\x04 \x01(\x03\x12\x19\n\x11last_commit_round\x18\x05 \x01(\x05\"\xbc\x01\n\rNewValidBlock\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12\x44\n\x15\x62lock_part_set_header\x18\x03 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\x12\x33\n\x0b\x62lock_parts\x18\x04 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArray\x12\x11\n\tis_commit\x18\x05 \x01(\x08\">\n\x08Proposal\x12\x32\n\x08proposal\x18\x01 \x01(\x0b\x32\x1a.tendermint.types.ProposalB\x04\xc8\xde\x1f\x00\"u\n\x0bProposalPOL\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x1a\n\x12proposal_pol_round\x18\x02 \x01(\x05\x12:\n\x0cproposal_pol\x18\x03 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"V\n\tBlockPart\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12*\n\x04part\x18\x03 \x01(\x0b\x32\x16.tendermint.types.PartB\x04\xc8\xde\x1f\x00\",\n\x04Vote\x12$\n\x04vote\x18\x01 \x01(\x0b\x32\x16.tendermint.types.Vote\"f\n\x07HasVote\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\r\n\x05index\x18\x04 \x01(\x05\"\x9a\x01\n\x0cVoteSetMaj23\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\"\xce\x01\n\x0bVoteSetBits\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12-\n\x04type\x18\x03 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x33\n\x05votes\x18\x05 \x01(\x0b\x32\x1e.tendermint.libs.bits.BitArrayB\x04\xc8\xde\x1f\x00\"\x8d\x04\n\x07Message\x12<\n\x0enew_round_step\x18\x01 \x01(\x0b\x32\".tendermint.consensus.NewRoundStepH\x00\x12>\n\x0fnew_valid_block\x18\x02 \x01(\x0b\x32#.tendermint.consensus.NewValidBlockH\x00\x12\x32\n\x08proposal\x18\x03 \x01(\x0b\x32\x1e.tendermint.consensus.ProposalH\x00\x12\x39\n\x0cproposal_pol\x18\x04 \x01(\x0b\x32!.tendermint.consensus.ProposalPOLH\x00\x12\x35\n\nblock_part\x18\x05 \x01(\x0b\x32\x1f.tendermint.consensus.BlockPartH\x00\x12*\n\x04vote\x18\x06 \x01(\x0b\x32\x1a.tendermint.consensus.VoteH\x00\x12\x31\n\x08has_vote\x18\x07 \x01(\x0b\x32\x1d.tendermint.consensus.HasVoteH\x00\x12<\n\x0evote_set_maj23\x18\x08 \x01(\x0b\x32\".tendermint.consensus.VoteSetMaj23H\x00\x12:\n\rvote_set_bits\x18\t \x01(\x0b\x32!.tendermint.consensus.VoteSetBitsH\x00\x42\x05\n\x03sumB9Z7github.com/cometbft/cometbft/proto/tendermint/consensusb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -53,12 +53,10 @@ _globals['_VOTE']._serialized_end=772 _globals['_HASVOTE']._serialized_start=774 _globals['_HASVOTE']._serialized_end=876 - _globals['_HASPROPOSALBLOCKPART']._serialized_start=878 - _globals['_HASPROPOSALBLOCKPART']._serialized_end=946 - _globals['_VOTESETMAJ23']._serialized_start=949 - _globals['_VOTESETMAJ23']._serialized_end=1103 - _globals['_VOTESETBITS']._serialized_start=1106 - _globals['_VOTESETBITS']._serialized_end=1312 - _globals['_MESSAGE']._serialized_start=1315 - _globals['_MESSAGE']._serialized_end=1919 + _globals['_VOTESETMAJ23']._serialized_start=879 + _globals['_VOTESETMAJ23']._serialized_end=1033 + _globals['_VOTESETBITS']._serialized_start=1036 + _globals['_VOTESETBITS']._serialized_end=1242 + _globals['_MESSAGE']._serialized_start=1245 + _globals['_MESSAGE']._serialized_end=1770 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py b/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py new file mode 100644 index 00000000..a4874a82 --- /dev/null +++ b/pyinjective/proto/tendermint/rpc/grpc/types_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: tendermint/rpc/grpc/types.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ftendermint/rpc/grpc/types.proto\x12\x13tendermint.rpc.grpc\x1a\x1btendermint/abci/types.proto\"\r\n\x0bRequestPing\" \n\x12RequestBroadcastTx\x12\n\n\x02tx\x18\x01 \x01(\x0c\"\x0e\n\x0cResponsePing\"\x81\x01\n\x13ResponseBroadcastTx\x12\x32\n\x08\x63heck_tx\x18\x01 \x01(\x0b\x32 .tendermint.abci.ResponseCheckTx\x12\x36\n\ndeliver_tx\x18\x02 \x01(\x0b\x32\".tendermint.abci.ResponseDeliverTx2\xbd\x01\n\x0c\x42roadcastAPI\x12K\n\x04Ping\x12 .tendermint.rpc.grpc.RequestPing\x1a!.tendermint.rpc.grpc.ResponsePing\x12`\n\x0b\x42roadcastTx\x12\'.tendermint.rpc.grpc.RequestBroadcastTx\x1a(.tendermint.rpc.grpc.ResponseBroadcastTxB0Z.github.com/cometbft/cometbft/rpc/grpc;coregrpcb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.rpc.grpc.types_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z.github.com/cometbft/cometbft/rpc/grpc;coregrpc' + _globals['_REQUESTPING']._serialized_start=85 + _globals['_REQUESTPING']._serialized_end=98 + _globals['_REQUESTBROADCASTTX']._serialized_start=100 + _globals['_REQUESTBROADCASTTX']._serialized_end=132 + _globals['_RESPONSEPING']._serialized_start=134 + _globals['_RESPONSEPING']._serialized_end=148 + _globals['_RESPONSEBROADCASTTX']._serialized_start=151 + _globals['_RESPONSEBROADCASTTX']._serialized_end=280 + _globals['_BROADCASTAPI']._serialized_start=283 + _globals['_BROADCASTAPI']._serialized_end=472 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py b/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py new file mode 100644 index 00000000..25950d5c --- /dev/null +++ b/pyinjective/proto/tendermint/rpc/grpc/types_pb2_grpc.py @@ -0,0 +1,108 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from tendermint.rpc.grpc import types_pb2 as tendermint_dot_rpc_dot_grpc_dot_types__pb2 + + +class BroadcastAPIStub(object): + """---------------------------------------- + Service Definition + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Ping = channel.unary_unary( + '/tendermint.rpc.grpc.BroadcastAPI/Ping', + request_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.SerializeToString, + response_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.FromString, + ) + self.BroadcastTx = channel.unary_unary( + '/tendermint.rpc.grpc.BroadcastAPI/BroadcastTx', + request_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.SerializeToString, + response_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.FromString, + ) + + +class BroadcastAPIServicer(object): + """---------------------------------------- + Service Definition + + """ + + def Ping(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BroadcastTx(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BroadcastAPIServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Ping': grpc.unary_unary_rpc_method_handler( + servicer.Ping, + request_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.FromString, + response_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.SerializeToString, + ), + 'BroadcastTx': grpc.unary_unary_rpc_method_handler( + servicer.BroadcastTx, + request_deserializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.FromString, + response_serializer=tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'tendermint.rpc.grpc.BroadcastAPI', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BroadcastAPI(object): + """---------------------------------------- + Service Definition + + """ + + @staticmethod + def Ping(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.rpc.grpc.BroadcastAPI/Ping', + tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestPing.SerializeToString, + tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponsePing.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def BroadcastTx(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/tendermint.rpc.grpc.BroadcastAPI/BroadcastTx', + tendermint_dot_rpc_dot_grpc_dot_types__pb2.RequestBroadcastTx.SerializeToString, + tendermint_dot_rpc_dot_grpc_dot_types__pb2.ResponseBroadcastTx.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py deleted file mode 100644 index 7f25f3f4..00000000 --- a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block/v1/block.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.types import block_pb2 as tendermint_dot_types_dot_block__pb2 -from tendermint.types import types_pb2 as tendermint_dot_types_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(tendermint/services/block/v1/block.proto\x12\x1ctendermint.services.block.v1\x1a\x1ctendermint/types/block.proto\x1a\x1ctendermint/types/types.proto\"$\n\x12GetByHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"j\n\x13GetByHeightResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x12\n\x10GetLatestRequest\"h\n\x11GetLatestResponse\x12+\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockID\x12&\n\x05\x62lock\x18\x02 \x01(\x0b\x32\x17.tendermint.types.Block\"\x18\n\x16GetLatestHeightRequest\")\n\x17GetLatestHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' - _globals['_GETBYHEIGHTREQUEST']._serialized_start=134 - _globals['_GETBYHEIGHTREQUEST']._serialized_end=170 - _globals['_GETBYHEIGHTRESPONSE']._serialized_start=172 - _globals['_GETBYHEIGHTRESPONSE']._serialized_end=278 - _globals['_GETLATESTREQUEST']._serialized_start=280 - _globals['_GETLATESTREQUEST']._serialized_end=298 - _globals['_GETLATESTRESPONSE']._serialized_start=300 - _globals['_GETLATESTRESPONSE']._serialized_end=404 - _globals['_GETLATESTHEIGHTREQUEST']._serialized_start=406 - _globals['_GETLATESTHEIGHTREQUEST']._serialized_end=430 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_start=432 - _globals['_GETLATESTHEIGHTRESPONSE']._serialized_end=473 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py deleted file mode 100644 index 3d5428ad..00000000 --- a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block/v1/block_service.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.block.v1 import block_pb2 as tendermint_dot_services_dot_block_dot_v1_dot_block__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0tendermint/services/block/v1/block_service.proto\x12\x1ctendermint.services.block.v1\x1a(tendermint/services/block/v1/block.proto2\xf3\x02\n\x0c\x42lockService\x12r\n\x0bGetByHeight\x12\x30.tendermint.services.block.v1.GetByHeightRequest\x1a\x31.tendermint.services.block.v1.GetByHeightResponse\x12l\n\tGetLatest\x12..tendermint.services.block.v1.GetLatestRequest\x1a/.tendermint.services.block.v1.GetLatestResponse\x12\x80\x01\n\x0fGetLatestHeight\x12\x34.tendermint.services.block.v1.GetLatestHeightRequest\x1a\x35.tendermint.services.block.v1.GetLatestHeightResponse0\x01\x42\x41Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block.v1.block_service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z?github.com/cometbft/cometbft/proto/tendermint/services/block/v1' - _globals['_BLOCKSERVICE']._serialized_start=125 - _globals['_BLOCKSERVICE']._serialized_end=496 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py deleted file mode 100644 index 4e204eb6..00000000 --- a/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py +++ /dev/null @@ -1,141 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.block.v1 import block_pb2 as tendermint_dot_services_dot_block_dot_v1_dot_block__pb2 - - -class BlockServiceStub(object): - """BlockService provides information about blocks - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetByHeight = channel.unary_unary( - '/tendermint.services.block.v1.BlockService/GetByHeight', - request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.FromString, - ) - self.GetLatest = channel.unary_unary( - '/tendermint.services.block.v1.BlockService/GetLatest', - request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.FromString, - ) - self.GetLatestHeight = channel.unary_stream( - '/tendermint.services.block.v1.BlockService/GetLatestHeight', - request_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.FromString, - ) - - -class BlockServiceServicer(object): - """BlockService provides information about blocks - """ - - def GetByHeight(self, request, context): - """GetBlock retrieves the block information at a particular height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatest(self, request, context): - """GetLatest retrieves the latest block. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatestHeight(self, request, context): - """GetLatestHeight returns a stream of the latest block heights committed by - the network. This is a long-lived stream that is only terminated by the - server if an error occurs. The caller is expected to handle such - disconnections and automatically reconnect. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BlockServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetByHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetByHeight, - request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.SerializeToString, - ), - 'GetLatest': grpc.unary_unary_rpc_method_handler( - servicer.GetLatest, - request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.FromString, - response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.SerializeToString, - ), - 'GetLatestHeight': grpc.unary_stream_rpc_method_handler( - servicer.GetLatestHeight, - request_deserializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.block.v1.BlockService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BlockService(object): - """BlockService provides information about blocks - """ - - @staticmethod - def GetByHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block.v1.BlockService/GetByHeight', - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightRequest.SerializeToString, - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetByHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetLatest(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block.v1.BlockService/GetLatest', - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestRequest.SerializeToString, - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetLatestHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/tendermint.services.block.v1.BlockService/GetLatestHeight', - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightRequest.SerializeToString, - tendermint_dot_services_dot_block_dot_v1_dot_block__pb2.GetLatestHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py deleted file mode 100644 index bda9a9d6..00000000 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block_results/v1/block_results.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.abci import types_pb2 as tendermint_dot_abci_dot_types__pb2 -from tendermint.types import params_pb2 as tendermint_dot_types_dot_params__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8tendermint/services/block_results/v1/block_results.proto\x12$tendermint.services.block_results.v1\x1a\x1btendermint/abci/types.proto\x1a\x1dtendermint/types/params.proto\"(\n\x16GetBlockResultsRequest\x12\x0e\n\x06height\x18\x01 \x01(\x03\"\x1e\n\x1cGetLatestBlockResultsRequest\"\xa7\x02\n\x17GetBlockResultsResponse\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\x32\n\x0btxs_results\x18\x02 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\x15\x66inalize_block_events\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.Event\x12;\n\x11validator_updates\x18\x04 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdate\x12\x42\n\x17\x63onsensus_param_updates\x18\x05 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12\x10\n\x08\x61pp_hash\x18\x06 \x01(\x0c\x42IZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' - _globals['_GETBLOCKRESULTSREQUEST']._serialized_start=158 - _globals['_GETBLOCKRESULTSREQUEST']._serialized_end=198 - _globals['_GETLATESTBLOCKRESULTSREQUEST']._serialized_start=200 - _globals['_GETLATESTBLOCKRESULTSREQUEST']._serialized_end=230 - _globals['_GETBLOCKRESULTSRESPONSE']._serialized_start=233 - _globals['_GETBLOCKRESULTSRESPONSE']._serialized_end=528 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py deleted file mode 100644 index 37d3214f..00000000 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/block_results/v1/block_results_service.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.block_results.v1 import block_results_pb2 as tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@tendermint/services/block_results/v1/block_results_service.proto\x12$tendermint.services.block_results.v1\x1a\x38tendermint/services/block_results/v1/block_results.proto2\xc3\x02\n\x13\x42lockResultsService\x12\x8e\x01\n\x0fGetBlockResults\x12<.tendermint.services.block_results.v1.GetBlockResultsRequest\x1a=.tendermint.services.block_results.v1.GetBlockResultsResponse\x12\x9a\x01\n\x15GetLatestBlockResults\x12\x42.tendermint.services.block_results.v1.GetLatestBlockResultsRequest\x1a=.tendermint.services.block_results.v1.GetBlockResultsResponseBIZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.block_results.v1.block_results_service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZGgithub.com/cometbft/cometbft/proto/tendermint/services/block_results/v1' - _globals['_BLOCKRESULTSSERVICE']._serialized_start=165 - _globals['_BLOCKRESULTSSERVICE']._serialized_end=488 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py deleted file mode 100644 index 12b3e5da..00000000 --- a/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py +++ /dev/null @@ -1,107 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.block_results.v1 import block_results_pb2 as tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2 - - -class BlockResultsServiceStub(object): - """ - BlockResultService provides the block results of a given or latestheight. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetBlockResults = channel.unary_unary( - '/tendermint.services.block_results.v1.BlockResultsService/GetBlockResults', - request_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - ) - self.GetLatestBlockResults = channel.unary_unary( - '/tendermint.services.block_results.v1.BlockResultsService/GetLatestBlockResults', - request_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - ) - - -class BlockResultsServiceServicer(object): - """ - BlockResultService provides the block results of a given or latestheight. - """ - - def GetBlockResults(self, request, context): - """GetBlockResults returns the BlockResults of the requested height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetLatestBlockResults(self, request, context): - """GetLatestBlockResults returns the BlockResults of the latest committed height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BlockResultsServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetBlockResults': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockResults, - request_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.FromString, - response_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.SerializeToString, - ), - 'GetLatestBlockResults': grpc.unary_unary_rpc_method_handler( - servicer.GetLatestBlockResults, - request_deserializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.FromString, - response_serializer=tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.block_results.v1.BlockResultsService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BlockResultsService(object): - """ - BlockResultService provides the block results of a given or latestheight. - """ - - @staticmethod - def GetBlockResults(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block_results.v1.BlockResultsService/GetBlockResults', - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsRequest.SerializeToString, - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetLatestBlockResults(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.block_results.v1.BlockResultsService/GetLatestBlockResults', - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetLatestBlockResultsRequest.SerializeToString, - tendermint_dot_services_dot_block__results_dot_v1_dot_block__results__pb2.GetBlockResultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py deleted file mode 100644 index 8f0a166f..00000000 --- a/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/pruning/v1/pruning.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/pruning/v1/pruning.proto\x12\x1etendermint.services.pruning.v1\"-\n\x1bSetBlockRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"\x1e\n\x1cSetBlockRetainHeightResponse\"\x1d\n\x1bGetBlockRetainHeightRequest\"`\n\x1cGetBlockRetainHeightResponse\x12\x19\n\x11\x61pp_retain_height\x18\x01 \x01(\x04\x12%\n\x1dpruning_service_retain_height\x18\x02 \x01(\x04\"4\n\"SetBlockResultsRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"%\n#SetBlockResultsRetainHeightResponse\"$\n\"GetBlockResultsRetainHeightRequest\"L\n#GetBlockResultsRetainHeightResponse\x12%\n\x1dpruning_service_retain_height\x18\x01 \x01(\x04\"1\n\x1fSetTxIndexerRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"\"\n SetTxIndexerRetainHeightResponse\"!\n\x1fGetTxIndexerRetainHeightRequest\"2\n GetTxIndexerRetainHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\"4\n\"SetBlockIndexerRetainHeightRequest\x12\x0e\n\x06height\x18\x01 \x01(\x04\"%\n#SetBlockIndexerRetainHeightResponse\"$\n\"GetBlockIndexerRetainHeightRequest\"5\n#GetBlockIndexerRetainHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\x04\x62\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.pruning_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_start=80 - _globals['_SETBLOCKRETAINHEIGHTREQUEST']._serialized_end=125 - _globals['_SETBLOCKRETAINHEIGHTRESPONSE']._serialized_start=127 - _globals['_SETBLOCKRETAINHEIGHTRESPONSE']._serialized_end=157 - _globals['_GETBLOCKRETAINHEIGHTREQUEST']._serialized_start=159 - _globals['_GETBLOCKRETAINHEIGHTREQUEST']._serialized_end=188 - _globals['_GETBLOCKRETAINHEIGHTRESPONSE']._serialized_start=190 - _globals['_GETBLOCKRETAINHEIGHTRESPONSE']._serialized_end=286 - _globals['_SETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_start=288 - _globals['_SETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_end=340 - _globals['_SETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_start=342 - _globals['_SETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_end=379 - _globals['_GETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_start=381 - _globals['_GETBLOCKRESULTSRETAINHEIGHTREQUEST']._serialized_end=417 - _globals['_GETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_start=419 - _globals['_GETBLOCKRESULTSRETAINHEIGHTRESPONSE']._serialized_end=495 - _globals['_SETTXINDEXERRETAINHEIGHTREQUEST']._serialized_start=497 - _globals['_SETTXINDEXERRETAINHEIGHTREQUEST']._serialized_end=546 - _globals['_SETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_start=548 - _globals['_SETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_end=582 - _globals['_GETTXINDEXERRETAINHEIGHTREQUEST']._serialized_start=584 - _globals['_GETTXINDEXERRETAINHEIGHTREQUEST']._serialized_end=617 - _globals['_GETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_start=619 - _globals['_GETTXINDEXERRETAINHEIGHTRESPONSE']._serialized_end=669 - _globals['_SETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_start=671 - _globals['_SETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_end=723 - _globals['_SETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_start=725 - _globals['_SETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_end=762 - _globals['_GETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_start=764 - _globals['_GETBLOCKINDEXERRETAINHEIGHTREQUEST']._serialized_end=800 - _globals['_GETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_start=802 - _globals['_GETBLOCKINDEXERRETAINHEIGHTRESPONSE']._serialized_end=855 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py deleted file mode 100644 index 32f20cb6..00000000 --- a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/pruning/v1/service.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.pruning.v1 import pruning_pb2 as tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/pruning/v1/service.proto\x12\x1etendermint.services.pruning.v1\x1a,tendermint/services/pruning/v1/pruning.proto2\x9c\n\n\x0ePruningService\x12\x91\x01\n\x14SetBlockRetainHeight\x12;.tendermint.services.pruning.v1.SetBlockRetainHeightRequest\x1a<.tendermint.services.pruning.v1.SetBlockRetainHeightResponse\x12\x91\x01\n\x14GetBlockRetainHeight\x12;.tendermint.services.pruning.v1.GetBlockRetainHeightRequest\x1a<.tendermint.services.pruning.v1.GetBlockRetainHeightResponse\x12\xa6\x01\n\x1bSetBlockResultsRetainHeight\x12\x42.tendermint.services.pruning.v1.SetBlockResultsRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.SetBlockResultsRetainHeightResponse\x12\xa6\x01\n\x1bGetBlockResultsRetainHeight\x12\x42.tendermint.services.pruning.v1.GetBlockResultsRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.GetBlockResultsRetainHeightResponse\x12\x9d\x01\n\x18SetTxIndexerRetainHeight\x12?.tendermint.services.pruning.v1.SetTxIndexerRetainHeightRequest\x1a@.tendermint.services.pruning.v1.SetTxIndexerRetainHeightResponse\x12\x9d\x01\n\x18GetTxIndexerRetainHeight\x12?.tendermint.services.pruning.v1.GetTxIndexerRetainHeightRequest\x1a@.tendermint.services.pruning.v1.GetTxIndexerRetainHeightResponse\x12\xa6\x01\n\x1bSetBlockIndexerRetainHeight\x12\x42.tendermint.services.pruning.v1.SetBlockIndexerRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.SetBlockIndexerRetainHeightResponse\x12\xa6\x01\n\x1bGetBlockIndexerRetainHeight\x12\x42.tendermint.services.pruning.v1.GetBlockIndexerRetainHeightRequest\x1a\x43.tendermint.services.pruning.v1.GetBlockIndexerRetainHeightResponseb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.pruning.v1.service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _globals['_PRUNINGSERVICE']._serialized_start=127 - _globals['_PRUNINGSERVICE']._serialized_end=1435 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py deleted file mode 100644 index 1f680821..00000000 --- a/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py +++ /dev/null @@ -1,326 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.pruning.v1 import pruning_pb2 as tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2 - - -class PruningServiceStub(object): - """PruningService provides privileged access to specialized pruning - functionality on the CometBFT node to help control node storage. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.SetBlockRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetBlockRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.FromString, - ) - self.GetBlockRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetBlockRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.FromString, - ) - self.SetBlockResultsRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetBlockResultsRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.FromString, - ) - self.GetBlockResultsRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetBlockResultsRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.FromString, - ) - self.SetTxIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetTxIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.FromString, - ) - self.GetTxIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetTxIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.FromString, - ) - self.SetBlockIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/SetBlockIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.FromString, - ) - self.GetBlockIndexerRetainHeight = channel.unary_unary( - '/tendermint.services.pruning.v1.PruningService/GetBlockIndexerRetainHeight', - request_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.FromString, - ) - - -class PruningServiceServicer(object): - """PruningService provides privileged access to specialized pruning - functionality on the CometBFT node to help control node storage. - """ - - def SetBlockRetainHeight(self, request, context): - """SetBlockRetainHeightRequest indicates to the node that it can safely - prune all block data up to the specified retain height. - - The lower of this retain height and that set by the application in its - Commit response will be used by the node to determine which heights' data - can be pruned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockRetainHeight(self, request, context): - """GetBlockRetainHeight returns information about the retain height - parameters used by the node to influence block retention/pruning. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetBlockResultsRetainHeight(self, request, context): - """SetBlockResultsRetainHeightRequest indicates to the node that it can - safely prune all block results data up to the specified height. - - The node will always store the block results for the latest height to - help facilitate crash recovery. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockResultsRetainHeight(self, request, context): - """GetBlockResultsRetainHeight returns information about the retain height - parameters used by the node to influence block results retention/pruning. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetTxIndexerRetainHeight(self, request, context): - """SetTxIndexerRetainHeightRequest indicates to the node that it can safely - prune all tx indices up to the specified retain height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTxIndexerRetainHeight(self, request, context): - """GetTxIndexerRetainHeight returns information about the retain height - parameters used by the node to influence TxIndexer pruning - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetBlockIndexerRetainHeight(self, request, context): - """SetBlockIndexerRetainHeightRequest indicates to the node that it can safely - prune all block indices up to the specified retain height. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBlockIndexerRetainHeight(self, request, context): - """GetBlockIndexerRetainHeight returns information about the retain height - parameters used by the node to influence BlockIndexer pruning - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PruningServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'SetBlockRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetBlockRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.SerializeToString, - ), - 'GetBlockRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.SerializeToString, - ), - 'SetBlockResultsRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetBlockResultsRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.SerializeToString, - ), - 'GetBlockResultsRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockResultsRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.SerializeToString, - ), - 'SetTxIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetTxIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.SerializeToString, - ), - 'GetTxIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetTxIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.SerializeToString, - ), - 'SetBlockIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.SetBlockIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.SerializeToString, - ), - 'GetBlockIndexerRetainHeight': grpc.unary_unary_rpc_method_handler( - servicer.GetBlockIndexerRetainHeight, - request_deserializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.FromString, - response_serializer=tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.pruning.v1.PruningService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PruningService(object): - """PruningService provides privileged access to specialized pruning - functionality on the CometBFT node to help control node storage. - """ - - @staticmethod - def SetBlockRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBlockRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetBlockResultsRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockResultsRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockResultsRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBlockResultsRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockResultsRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockResultsRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetTxIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetTxIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetTxIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTxIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetTxIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetTxIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetBlockIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/SetBlockIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.SetBlockIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBlockIndexerRetainHeight(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.pruning.v1.PruningService/GetBlockIndexerRetainHeight', - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightRequest.SerializeToString, - tendermint_dot_services_dot_pruning_dot_v1_dot_pruning__pb2.GetBlockIndexerRetainHeightResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py deleted file mode 100644 index 8d6d2b53..00000000 --- a/pyinjective/proto/tendermint/services/version/v1/version_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/version/v1/version.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tendermint/services/version/v1/version.proto\x12\x1etendermint.services.version.v1\"\x13\n\x11GetVersionRequest\"L\n\x12GetVersionResponse\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x62\x63i\x18\x02 \x01(\t\x12\x0b\n\x03p2p\x18\x03 \x01(\x04\x12\r\n\x05\x62lock\x18\x04 \x01(\x04\x42\x43ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' - _globals['_GETVERSIONREQUEST']._serialized_start=80 - _globals['_GETVERSIONREQUEST']._serialized_end=99 - _globals['_GETVERSIONRESPONSE']._serialized_start=101 - _globals['_GETVERSIONRESPONSE']._serialized_end=177 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py deleted file mode 100644 index 29d57e42..00000000 --- a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tendermint/services/version/v1/version_service.proto -"""Generated protocol buffer code.""" -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 -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from tendermint.services.version.v1 import version_pb2 as tendermint_dot_services_dot_version_dot_v1_dot_version__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4tendermint/services/version/v1/version_service.proto\x12\x1etendermint.services.version.v1\x1a,tendermint/services/version/v1/version.proto2\x85\x01\n\x0eVersionService\x12s\n\nGetVersion\x12\x31.tendermint.services.version.v1.GetVersionRequest\x1a\x32.tendermint.services.version.v1.GetVersionResponseBCZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.services.version.v1.version_service_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'ZAgithub.com/cometbft/cometbft/proto/tendermint/services/version/v1' - _globals['_VERSIONSERVICE']._serialized_start=135 - _globals['_VERSIONSERVICE']._serialized_end=268 -# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py deleted file mode 100644 index 4fa841b2..00000000 --- a/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from tendermint.services.version.v1 import version_pb2 as tendermint_dot_services_dot_version_dot_v1_dot_version__pb2 - - -class VersionServiceStub(object): - """VersionService simply provides version information about the node and the - protocols it uses. - - The intention with this service is to offer a stable interface through which - clients can access version information. This means that the version of the - service should be kept stable at v1, with GetVersionResponse evolving only - in non-breaking ways. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetVersion = channel.unary_unary( - '/tendermint.services.version.v1.VersionService/GetVersion', - request_serializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.SerializeToString, - response_deserializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.FromString, - ) - - -class VersionServiceServicer(object): - """VersionService simply provides version information about the node and the - protocols it uses. - - The intention with this service is to offer a stable interface through which - clients can access version information. This means that the version of the - service should be kept stable at v1, with GetVersionResponse evolving only - in non-breaking ways. - """ - - def GetVersion(self, request, context): - """GetVersion retrieves version information about the node and the protocols - it implements. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_VersionServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetVersion': grpc.unary_unary_rpc_method_handler( - servicer.GetVersion, - request_deserializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.FromString, - response_serializer=tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'tendermint.services.version.v1.VersionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class VersionService(object): - """VersionService simply provides version information about the node and the - protocols it uses. - - The intention with this service is to offer a stable interface through which - clients can access version information. This means that the version of the - service should be kept stable at v1, with GetVersionResponse evolving only - in non-breaking ways. - """ - - @staticmethod - def GetVersion(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/tendermint.services.version.v1.VersionService/GetVersion', - tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionRequest.SerializeToString, - tendermint_dot_services_dot_version_dot_v1_dot_version__pb2.GetVersionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/tendermint/state/types_pb2.py b/pyinjective/proto/tendermint/state/types_pb2.py index dcb7fd4e..c022c7cd 100644 --- a/pyinjective/proto/tendermint/state/types_pb2.py +++ b/pyinjective/proto/tendermint/state/types_pb2.py @@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x01\n\x13LegacyABCIResponses\x12\x32\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\x1d.tendermint.abci.ExecTxResult\x12\x35\n\tend_block\x18\x02 \x01(\x0b\x32\".tendermint.state.ResponseEndBlock\x12\x39\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32$.tendermint.state.ResponseBeginBlock\"V\n\x12ResponseBeginBlock\x12@\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"\xdb\x01\n\x10ResponseEndBlock\x12\x41\n\x11validator_updates\x18\x01 \x03(\x0b\x32 .tendermint.abci.ValidatorUpdateB\x04\xc8\xde\x1f\x00\x12\x42\n\x17\x63onsensus_param_updates\x18\x02 \x01(\x0b\x32!.tendermint.types.ConsensusParams\x12@\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x16.tendermint.abci.EventB\x18\xc8\xde\x1f\x00\xea\xde\x1f\x10\x65vents,omitempty\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\xb2\x01\n\x11\x41\x42\x43IResponsesInfo\x12\x44\n\x15legacy_abci_responses\x18\x01 \x01(\x0b\x32%.tendermint.state.LegacyABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12G\n\x17response_finalize_block\x18\x03 \x01(\x0b\x32&.tendermint.abci.ResponseFinalizeBlock\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/state/types.proto\x12\x10tendermint.state\x1a\x14gogoproto/gogo.proto\x1a\x1btendermint/abci/types.proto\x1a\x1ctendermint/types/types.proto\x1a tendermint/types/validator.proto\x1a\x1dtendermint/types/params.proto\x1a\x1etendermint/version/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb8\x01\n\rABCIResponses\x12\x37\n\x0b\x64\x65liver_txs\x18\x01 \x03(\x0b\x32\".tendermint.abci.ResponseDeliverTx\x12\x34\n\tend_block\x18\x02 \x01(\x0b\x32!.tendermint.abci.ResponseEndBlock\x12\x38\n\x0b\x62\x65gin_block\x18\x03 \x01(\x0b\x32#.tendermint.abci.ResponseBeginBlock\"d\n\x0eValidatorsInfo\x12\x35\n\rvalidator_set\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"u\n\x13\x43onsensusParamsInfo\x12\x41\n\x10\x63onsensus_params\x18\x01 \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12\x1b\n\x13last_height_changed\x18\x02 \x01(\x03\"\\\n\x11\x41\x42\x43IResponsesInfo\x12\x37\n\x0e\x61\x62\x63i_responses\x18\x01 \x01(\x0b\x32\x1f.tendermint.state.ABCIResponses\x12\x0e\n\x06height\x18\x02 \x01(\x03\"S\n\x07Version\x12\x36\n\tconsensus\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x10\n\x08software\x18\x02 \x01(\t\"\xfd\x04\n\x05State\x12\x30\n\x07version\x18\x01 \x01(\x0b\x32\x19.tendermint.state.VersionB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x16\n\x0einitial_height\x18\x0e \x01(\x03\x12\x19\n\x11last_block_height\x18\x03 \x01(\x03\x12\x45\n\rlast_block_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x13\xc8\xde\x1f\x00\xe2\xde\x1f\x0bLastBlockID\x12=\n\x0flast_block_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x37\n\x0fnext_validators\x18\x06 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x32\n\nvalidators\x18\x07 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12\x37\n\x0flast_validators\x18\x08 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\x12&\n\x1elast_height_validators_changed\x18\t \x01(\x03\x12\x41\n\x10\x63onsensus_params\x18\n \x01(\x0b\x32!.tendermint.types.ConsensusParamsB\x04\xc8\xde\x1f\x00\x12,\n$last_height_consensus_params_changed\x18\x0b \x01(\x03\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\r \x01(\x0c\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/stateb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,12 +29,6 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/state' - _RESPONSEBEGINBLOCK.fields_by_name['events']._options = None - _RESPONSEBEGINBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' - _RESPONSEENDBLOCK.fields_by_name['validator_updates']._options = None - _RESPONSEENDBLOCK.fields_by_name['validator_updates']._serialized_options = b'\310\336\037\000' - _RESPONSEENDBLOCK.fields_by_name['events']._options = None - _RESPONSEENDBLOCK.fields_by_name['events']._serialized_options = b'\310\336\037\000\352\336\037\020events,omitempty' _CONSENSUSPARAMSINFO.fields_by_name['consensus_params']._options = None _CONSENSUSPARAMSINFO.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' _VERSION.fields_by_name['consensus']._options = None @@ -49,20 +43,16 @@ _STATE.fields_by_name['last_block_time']._serialized_options = b'\310\336\037\000\220\337\037\001' _STATE.fields_by_name['consensus_params']._options = None _STATE.fields_by_name['consensus_params']._serialized_options = b'\310\336\037\000' - _globals['_LEGACYABCIRESPONSES']._serialized_start=262 - _globals['_LEGACYABCIRESPONSES']._serialized_end=449 - _globals['_RESPONSEBEGINBLOCK']._serialized_start=451 - _globals['_RESPONSEBEGINBLOCK']._serialized_end=537 - _globals['_RESPONSEENDBLOCK']._serialized_start=540 - _globals['_RESPONSEENDBLOCK']._serialized_end=759 - _globals['_VALIDATORSINFO']._serialized_start=761 - _globals['_VALIDATORSINFO']._serialized_end=861 - _globals['_CONSENSUSPARAMSINFO']._serialized_start=863 - _globals['_CONSENSUSPARAMSINFO']._serialized_end=980 - _globals['_ABCIRESPONSESINFO']._serialized_start=983 - _globals['_ABCIRESPONSESINFO']._serialized_end=1161 - _globals['_VERSION']._serialized_start=1163 - _globals['_VERSION']._serialized_end=1246 - _globals['_STATE']._serialized_start=1249 - _globals['_STATE']._serialized_end=1886 + _globals['_ABCIRESPONSES']._serialized_start=262 + _globals['_ABCIRESPONSES']._serialized_end=446 + _globals['_VALIDATORSINFO']._serialized_start=448 + _globals['_VALIDATORSINFO']._serialized_end=548 + _globals['_CONSENSUSPARAMSINFO']._serialized_start=550 + _globals['_CONSENSUSPARAMSINFO']._serialized_end=667 + _globals['_ABCIRESPONSESINFO']._serialized_start=669 + _globals['_ABCIRESPONSESINFO']._serialized_end=761 + _globals['_VERSION']._serialized_start=763 + _globals['_VERSION']._serialized_end=846 + _globals['_STATE']._serialized_start=849 + _globals['_STATE']._serialized_end=1486 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/canonical_pb2.py b/pyinjective/proto/tendermint/types/canonical_pb2.py index 9b458430..d83e84e3 100644 --- a/pyinjective/proto/tendermint/types/canonical_pb2.py +++ b/pyinjective/proto/tendermint/types/canonical_pb2.py @@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\\\n\x16\x43\x61nonicalVoteExtension\x12\x11\n\textension\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x10\n\x08\x63hain_id\x18\x04 \x01(\tB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/canonical.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/types/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10\x43\x61nonicalBlockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12G\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32(.tendermint.types.CanonicalPartSetHeaderB\x04\xc8\xde\x1f\x00\"5\n\x16\x43\x61nonicalPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"\x9d\x02\n\x11\x43\x61nonicalProposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x1f\n\tpol_round\x18\x04 \x01(\x03\x42\x0c\xe2\xde\x1f\x08POLRound\x12\x41\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x07 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\"\xf8\x01\n\rCanonicalVote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x10\x12\r\n\x05round\x18\x03 \x01(\x10\x12\x41\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\".tendermint.types.CanonicalBlockIDB\x0b\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x1d\n\x08\x63hain_id\x18\x06 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainIDB5Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -49,6 +49,4 @@ _globals['_CANONICALPROPOSAL']._serialized_end=587 _globals['_CANONICALVOTE']._serialized_start=590 _globals['_CANONICALVOTE']._serialized_end=838 - _globals['_CANONICALVOTEEXTENSION']._serialized_start=840 - _globals['_CANONICALVOTEEXTENSION']._serialized_end=932 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/params_pb2.py b/pyinjective/proto/tendermint/types/params_pb2.py index 15f9d769..69bc2c14 100644 --- a/pyinjective/proto/tendermint/types/params_pb2.py +++ b/pyinjective/proto/tendermint/types/params_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\x87\x02\n\x0f\x43onsensusParams\x12,\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams\x12*\n\x04\x61\x62\x63i\x18\x05 \x01(\x0b\x32\x1c.tendermint.types.ABCIParams\"7\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03J\x04\x08\x03\x10\x04\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"&\n\rVersionParams\x12\x0b\n\x03\x61pp\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\"3\n\nABCIParams\x12%\n\x1dvote_extensions_enable_height\x18\x01 \x01(\x03\x42\x39Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtendermint/types/params.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\"\xdb\x01\n\x0f\x43onsensusParams\x12,\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x1d.tendermint.types.BlockParams\x12\x32\n\x08\x65vidence\x18\x02 \x01(\x0b\x32 .tendermint.types.EvidenceParams\x12\x34\n\tvalidator\x18\x03 \x01(\x0b\x32!.tendermint.types.ValidatorParams\x12\x30\n\x07version\x18\x04 \x01(\x0b\x32\x1f.tendermint.types.VersionParams\"7\n\x0b\x42lockParams\x12\x11\n\tmax_bytes\x18\x01 \x01(\x03\x12\x0f\n\x07max_gas\x18\x02 \x01(\x03J\x04\x08\x03\x10\x04\"~\n\x0e\x45videnceParams\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\x03\x12=\n\x10max_age_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xc8\xde\x1f\x00\x98\xdf\x1f\x01\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"2\n\x0fValidatorParams\x12\x15\n\rpub_key_types\x18\x01 \x03(\t:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\"&\n\rVersionParams\x12\x0b\n\x03\x61pp\x18\x01 \x01(\x04:\x08\xb8\xa0\x1f\x01\xe8\xa0\x1f\x01\">\n\x0cHashedParams\x12\x17\n\x0f\x62lock_max_bytes\x18\x01 \x01(\x03\x12\x15\n\rblock_max_gas\x18\x02 \x01(\x03\x42\x39Z3github.com/cometbft/cometbft/proto/tendermint/types\xa8\xe2\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -31,17 +31,15 @@ _VERSIONPARAMS._options = None _VERSIONPARAMS._serialized_options = b'\270\240\037\001\350\240\037\001' _globals['_CONSENSUSPARAMS']._serialized_start=106 - _globals['_CONSENSUSPARAMS']._serialized_end=369 - _globals['_BLOCKPARAMS']._serialized_start=371 - _globals['_BLOCKPARAMS']._serialized_end=426 - _globals['_EVIDENCEPARAMS']._serialized_start=428 - _globals['_EVIDENCEPARAMS']._serialized_end=554 - _globals['_VALIDATORPARAMS']._serialized_start=556 - _globals['_VALIDATORPARAMS']._serialized_end=606 - _globals['_VERSIONPARAMS']._serialized_start=608 - _globals['_VERSIONPARAMS']._serialized_end=646 - _globals['_HASHEDPARAMS']._serialized_start=648 - _globals['_HASHEDPARAMS']._serialized_end=710 - _globals['_ABCIPARAMS']._serialized_start=712 - _globals['_ABCIPARAMS']._serialized_end=763 + _globals['_CONSENSUSPARAMS']._serialized_end=325 + _globals['_BLOCKPARAMS']._serialized_start=327 + _globals['_BLOCKPARAMS']._serialized_end=382 + _globals['_EVIDENCEPARAMS']._serialized_start=384 + _globals['_EVIDENCEPARAMS']._serialized_end=510 + _globals['_VALIDATORPARAMS']._serialized_start=512 + _globals['_VALIDATORPARAMS']._serialized_end=562 + _globals['_VERSIONPARAMS']._serialized_start=564 + _globals['_VERSIONPARAMS']._serialized_end=602 + _globals['_HASHEDPARAMS']._serialized_start=604 + _globals['_HASHEDPARAMS']._serialized_end=666 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/types_pb2.py b/pyinjective/proto/tendermint/types/types_pb2.py index f700382a..e8d691b6 100644 --- a/pyinjective/proto/tendermint/types/types_pb2.py +++ b/pyinjective/proto/tendermint/types/types_pb2.py @@ -18,7 +18,7 @@ from tendermint.types import validator_pb2 as tendermint_dot_types_dot_validator__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\xc2\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\x12\x11\n\textension\x18\t \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\n \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xb5\x01\n\x0e\x45xtendedCommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x46\n\x13\x65xtended_signatures\x18\x04 \x03(\x0b\x32#.tendermint.types.ExtendedCommitSigB\x04\xc8\xde\x1f\x00\"\xe0\x01\n\x11\x45xtendedCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\x12\x11\n\textension\x18\x05 \x01(\x0c\x12\x1b\n\x13\x65xtension_signature\x18\x06 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/types/types.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dtendermint/crypto/proof.proto\x1a\x1etendermint/version/types.proto\x1a tendermint/types/validator.proto\",\n\rPartSetHeader\x12\r\n\x05total\x18\x01 \x01(\r\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\"S\n\x04Part\x12\r\n\x05index\x18\x01 \x01(\r\x12\r\n\x05\x62ytes\x18\x02 \x01(\x0c\x12-\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.ProofB\x04\xc8\xde\x1f\x00\"W\n\x07\x42lockID\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12>\n\x0fpart_set_header\x18\x02 \x01(\x0b\x32\x1f.tendermint.types.PartSetHeaderB\x04\xc8\xde\x1f\x00\"\xb3\x03\n\x06Header\x12\x34\n\x07version\x18\x01 \x01(\x0b\x32\x1d.tendermint.version.ConsensusB\x04\xc8\xde\x1f\x00\x12\x1d\n\x08\x63hain_id\x18\x02 \x01(\tB\x0b\xe2\xde\x1f\x07\x43hainID\x12\x0e\n\x06height\x18\x03 \x01(\x03\x12\x32\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x36\n\rlast_block_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x04\xc8\xde\x1f\x00\x12\x18\n\x10last_commit_hash\x18\x06 \x01(\x0c\x12\x11\n\tdata_hash\x18\x07 \x01(\x0c\x12\x17\n\x0fvalidators_hash\x18\x08 \x01(\x0c\x12\x1c\n\x14next_validators_hash\x18\t \x01(\x0c\x12\x16\n\x0e\x63onsensus_hash\x18\n \x01(\x0c\x12\x10\n\x08\x61pp_hash\x18\x0b \x01(\x0c\x12\x19\n\x11last_results_hash\x18\x0c \x01(\x0c\x12\x15\n\revidence_hash\x18\r \x01(\x0c\x12\x18\n\x10proposer_address\x18\x0e \x01(\x0c\"\x13\n\x04\x44\x61ta\x12\x0b\n\x03txs\x18\x01 \x03(\x0c\"\x92\x02\n\x04Vote\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12<\n\x08\x62lock_id\x18\x04 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x19\n\x11validator_address\x18\x06 \x01(\x0c\x12\x17\n\x0fvalidator_index\x18\x07 \x01(\x05\x12\x11\n\tsignature\x18\x08 \x01(\x0c\"\x9c\x01\n\x06\x43ommit\x12\x0e\n\x06height\x18\x01 \x01(\x03\x12\r\n\x05round\x18\x02 \x01(\x05\x12<\n\x08\x62lock_id\x18\x03 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x35\n\nsignatures\x18\x04 \x03(\x0b\x32\x1b.tendermint.types.CommitSigB\x04\xc8\xde\x1f\x00\"\xa8\x01\n\tCommitSig\x12\x34\n\rblock_id_flag\x18\x01 \x01(\x0e\x32\x1d.tendermint.types.BlockIDFlag\x12\x19\n\x11validator_address\x18\x02 \x01(\x0c\x12\x37\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x04 \x01(\x0c\"\xf5\x01\n\x08Proposal\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.tendermint.types.SignedMsgType\x12\x0e\n\x06height\x18\x02 \x01(\x03\x12\r\n\x05round\x18\x03 \x01(\x05\x12\x11\n\tpol_round\x18\x04 \x01(\x05\x12<\n\x08\x62lock_id\x18\x05 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x37\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\x00\x90\xdf\x1f\x01\x12\x11\n\tsignature\x18\x07 \x01(\x0c\"b\n\x0cSignedHeader\x12(\n\x06header\x18\x01 \x01(\x0b\x32\x18.tendermint.types.Header\x12(\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x18.tendermint.types.Commit\"z\n\nLightBlock\x12\x35\n\rsigned_header\x18\x01 \x01(\x0b\x32\x1e.tendermint.types.SignedHeader\x12\x35\n\rvalidator_set\x18\x02 \x01(\x0b\x32\x1e.tendermint.types.ValidatorSet\"\x9e\x01\n\tBlockMeta\x12<\n\x08\x62lock_id\x18\x01 \x01(\x0b\x32\x19.tendermint.types.BlockIDB\x0f\xc8\xde\x1f\x00\xe2\xde\x1f\x07\x42lockID\x12\x12\n\nblock_size\x18\x02 \x01(\x03\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x18.tendermint.types.HeaderB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07num_txs\x18\x04 \x01(\x03\"S\n\x07TxProof\x12\x11\n\troot_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\'\n\x05proof\x18\x03 \x01(\x0b\x32\x18.tendermint.crypto.Proof*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01*\xd7\x01\n\rSignedMsgType\x12,\n\x17SIGNED_MSG_TYPE_UNKNOWN\x10\x00\x1a\x0f\x8a\x9d \x0bUnknownType\x12,\n\x17SIGNED_MSG_TYPE_PREVOTE\x10\x01\x1a\x0f\x8a\x9d \x0bPrevoteType\x12\x30\n\x19SIGNED_MSG_TYPE_PRECOMMIT\x10\x02\x1a\x11\x8a\x9d \rPrecommitType\x12.\n\x18SIGNED_MSG_TYPE_PROPOSAL\x10 \x1a\x10\x8a\x9d \x0cProposalType\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,6 +27,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' + _BLOCKIDFLAG._options = None + _BLOCKIDFLAG._serialized_options = b'\210\243\036\000\250\244\036\001' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None + _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' _SIGNEDMSGTYPE._options = None _SIGNEDMSGTYPE._serialized_options = b'\210\243\036\000\250\244\036\001' _SIGNEDMSGTYPE.values_by_name["SIGNED_MSG_TYPE_UNKNOWN"]._options = None @@ -59,12 +69,6 @@ _COMMIT.fields_by_name['signatures']._serialized_options = b'\310\336\037\000' _COMMITSIG.fields_by_name['timestamp']._options = None _COMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' - _EXTENDEDCOMMIT.fields_by_name['block_id']._options = None - _EXTENDEDCOMMIT.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' - _EXTENDEDCOMMIT.fields_by_name['extended_signatures']._options = None - _EXTENDEDCOMMIT.fields_by_name['extended_signatures']._serialized_options = b'\310\336\037\000' - _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._options = None - _EXTENDEDCOMMITSIG.fields_by_name['timestamp']._serialized_options = b'\310\336\037\000\220\337\037\001' _PROPOSAL.fields_by_name['block_id']._options = None _PROPOSAL.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _PROPOSAL.fields_by_name['timestamp']._options = None @@ -73,8 +77,10 @@ _BLOCKMETA.fields_by_name['block_id']._serialized_options = b'\310\336\037\000\342\336\037\007BlockID' _BLOCKMETA.fields_by_name['header']._options = None _BLOCKMETA.fields_by_name['header']._serialized_options = b'\310\336\037\000' - _globals['_SIGNEDMSGTYPE']._serialized_start=2666 - _globals['_SIGNEDMSGTYPE']._serialized_end=2881 + _globals['_BLOCKIDFLAG']._serialized_start=2207 + _globals['_BLOCKIDFLAG']._serialized_end=2422 + _globals['_SIGNEDMSGTYPE']._serialized_start=2425 + _globals['_SIGNEDMSGTYPE']._serialized_end=2640 _globals['_PARTSETHEADER']._serialized_start=202 _globals['_PARTSETHEADER']._serialized_end=246 _globals['_PART']._serialized_start=248 @@ -86,23 +92,19 @@ _globals['_DATA']._serialized_start=860 _globals['_DATA']._serialized_end=879 _globals['_VOTE']._serialized_start=882 - _globals['_VOTE']._serialized_end=1204 - _globals['_COMMIT']._serialized_start=1207 - _globals['_COMMIT']._serialized_end=1363 - _globals['_COMMITSIG']._serialized_start=1366 - _globals['_COMMITSIG']._serialized_end=1534 - _globals['_EXTENDEDCOMMIT']._serialized_start=1537 - _globals['_EXTENDEDCOMMIT']._serialized_end=1718 - _globals['_EXTENDEDCOMMITSIG']._serialized_start=1721 - _globals['_EXTENDEDCOMMITSIG']._serialized_end=1945 - _globals['_PROPOSAL']._serialized_start=1948 - _globals['_PROPOSAL']._serialized_end=2193 - _globals['_SIGNEDHEADER']._serialized_start=2195 - _globals['_SIGNEDHEADER']._serialized_end=2293 - _globals['_LIGHTBLOCK']._serialized_start=2295 - _globals['_LIGHTBLOCK']._serialized_end=2417 - _globals['_BLOCKMETA']._serialized_start=2420 - _globals['_BLOCKMETA']._serialized_end=2578 - _globals['_TXPROOF']._serialized_start=2580 - _globals['_TXPROOF']._serialized_end=2663 + _globals['_VOTE']._serialized_end=1156 + _globals['_COMMIT']._serialized_start=1159 + _globals['_COMMIT']._serialized_end=1315 + _globals['_COMMITSIG']._serialized_start=1318 + _globals['_COMMITSIG']._serialized_end=1486 + _globals['_PROPOSAL']._serialized_start=1489 + _globals['_PROPOSAL']._serialized_end=1734 + _globals['_SIGNEDHEADER']._serialized_start=1736 + _globals['_SIGNEDHEADER']._serialized_end=1834 + _globals['_LIGHTBLOCK']._serialized_start=1836 + _globals['_LIGHTBLOCK']._serialized_end=1958 + _globals['_BLOCKMETA']._serialized_start=1961 + _globals['_BLOCKMETA']._serialized_end=2119 + _globals['_TXPROOF']._serialized_start=2121 + _globals['_TXPROOF']._serialized_end=2204 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/types/validator_pb2.py b/pyinjective/proto/tendermint/types/validator_pb2.py index 42296a18..a01384e0 100644 --- a/pyinjective/proto/tendermint/types/validator_pb2.py +++ b/pyinjective/proto/tendermint/types/validator_pb2.py @@ -15,7 +15,7 @@ from tendermint.crypto import keys_pb2 as tendermint_dot_crypto_dot_keys__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03*\xd7\x01\n\x0b\x42lockIDFlag\x12\x31\n\x15\x42LOCK_ID_FLAG_UNKNOWN\x10\x00\x1a\x16\x8a\x9d \x12\x42lockIDFlagUnknown\x12/\n\x14\x42LOCK_ID_FLAG_ABSENT\x10\x01\x1a\x15\x8a\x9d \x11\x42lockIDFlagAbsent\x12/\n\x14\x42LOCK_ID_FLAG_COMMIT\x10\x02\x1a\x15\x8a\x9d \x11\x42lockIDFlagCommit\x12)\n\x11\x42LOCK_ID_FLAG_NIL\x10\x03\x1a\x12\x8a\x9d \x0e\x42lockIDFlagNil\x1a\x08\x88\xa3\x1e\x00\xa8\xa4\x1e\x01\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/types/validator.proto\x12\x10tendermint.types\x1a\x14gogoproto/gogo.proto\x1a\x1ctendermint/crypto/keys.proto\"\x8a\x01\n\x0cValidatorSet\x12/\n\nvalidators\x18\x01 \x03(\x0b\x32\x1b.tendermint.types.Validator\x12-\n\x08proposer\x18\x02 \x01(\x0b\x32\x1b.tendermint.types.Validator\x12\x1a\n\x12total_voting_power\x18\x03 \x01(\x03\"\x82\x01\n\tValidator\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x33\n\x07pub_key\x18\x02 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKeyB\x04\xc8\xde\x1f\x00\x12\x14\n\x0cvoting_power\x18\x03 \x01(\x03\x12\x19\n\x11proposer_priority\x18\x04 \x01(\x03\"V\n\x0fSimpleValidator\x12-\n\x07pub_key\x18\x01 \x01(\x0b\x32\x1c.tendermint.crypto.PublicKey\x12\x14\n\x0cvoting_power\x18\x02 \x01(\x03\x42\x35Z3github.com/cometbft/cometbft/proto/tendermint/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,20 +24,8 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/cometbft/cometbft/proto/tendermint/types' - _BLOCKIDFLAG._options = None - _BLOCKIDFLAG._serialized_options = b'\210\243\036\000\250\244\036\001' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_UNKNOWN"]._serialized_options = b'\212\235 \022BlockIDFlagUnknown' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_ABSENT"]._serialized_options = b'\212\235 \021BlockIDFlagAbsent' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_COMMIT"]._serialized_options = b'\212\235 \021BlockIDFlagCommit' - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._options = None - _BLOCKIDFLAG.values_by_name["BLOCK_ID_FLAG_NIL"]._serialized_options = b'\212\235 \016BlockIDFlagNil' _VALIDATOR.fields_by_name['pub_key']._options = None _VALIDATOR.fields_by_name['pub_key']._serialized_options = b'\310\336\037\000' - _globals['_BLOCKIDFLAG']._serialized_start=469 - _globals['_BLOCKIDFLAG']._serialized_end=684 _globals['_VALIDATORSET']._serialized_start=107 _globals['_VALIDATORSET']._serialized_end=245 _globals['_VALIDATOR']._serialized_start=248 diff --git a/pyinjective/proto/testpb/bank_pb2.py b/pyinjective/proto/testpb/bank_pb2.py new file mode 100644 index 00000000..51393809 --- /dev/null +++ b/pyinjective/proto/testpb/bank_pb2.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/bank.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.orm.v1 import orm_pb2 as cosmos_dot_orm_dot_v1_dot_orm__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11testpb/bank.proto\x12\x06testpb\x1a\x17\x63osmos/orm/v1/orm.proto\"_\n\x07\x42\x61lance\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x04:$\xf2\x9e\xd3\x8e\x03\x1e\n\x0f\n\raddress,denom\x12\t\n\x05\x64\x65nom\x10\x01\x18\x01\":\n\x06Supply\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04:\x11\xf2\x9e\xd3\x8e\x03\x0b\n\x07\n\x05\x64\x65nom\x18\x02\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.bank_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _BALANCE._options = None + _BALANCE._serialized_options = b'\362\236\323\216\003\036\n\017\n\raddress,denom\022\t\n\005denom\020\001\030\001' + _SUPPLY._options = None + _SUPPLY._serialized_options = b'\362\236\323\216\003\013\n\007\n\005denom\030\002' + _globals['_BALANCE']._serialized_start=54 + _globals['_BALANCE']._serialized_end=149 + _globals['_SUPPLY']._serialized_start=151 + _globals['_SUPPLY']._serialized_end=209 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/bank_pb2_grpc.py b/pyinjective/proto/testpb/bank_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/testpb/bank_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/testpb/bank_query_pb2.py b/pyinjective/proto/testpb/bank_query_pb2.py new file mode 100644 index 00000000..631ec75c --- /dev/null +++ b/pyinjective/proto/testpb/bank_query_pb2.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/bank_query.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from testpb import bank_pb2 as testpb_dot_bank__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17testpb/bank_query.proto\x12\x06testpb\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x11testpb/bank.proto\"3\n\x11GetBalanceRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\"4\n\x12GetBalanceResponse\x12\x1e\n\x05value\x18\x01 \x01(\x0b\x32\x0f.testpb.Balance\"\xd8\x04\n\x12ListBalanceRequest\x12;\n\x0cprefix_query\x18\x01 \x01(\x0b\x32#.testpb.ListBalanceRequest.IndexKeyH\x00\x12<\n\x0brange_query\x18\x02 \x01(\x0b\x32%.testpb.ListBalanceRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\x8f\x02\n\x08IndexKey\x12I\n\raddress_denom\x18\x01 \x01(\x0b\x32\x30.testpb.ListBalanceRequest.IndexKey.AddressDenomH\x00\x12:\n\x05\x64\x65nom\x18\x02 \x01(\x0b\x32).testpb.ListBalanceRequest.IndexKey.DenomH\x00\x1aN\n\x0c\x41\x64\x64ressDenom\x12\x14\n\x07\x61\x64\x64ress\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05\x64\x65nom\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_addressB\x08\n\x06_denom\x1a%\n\x05\x44\x65nom\x12\x12\n\x05\x64\x65nom\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_denomB\x05\n\x03key\x1ap\n\nRangeQuery\x12\x31\n\x04\x66rom\x18\x01 \x01(\x0b\x32#.testpb.ListBalanceRequest.IndexKey\x12/\n\x02to\x18\x02 \x01(\x0b\x32#.testpb.ListBalanceRequest.IndexKeyB\x07\n\x05query\"s\n\x13ListBalanceResponse\x12\x1f\n\x06values\x18\x01 \x03(\x0b\x32\x0f.testpb.Balance\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"!\n\x10GetSupplyRequest\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\"2\n\x11GetSupplyResponse\x12\x1d\n\x05value\x18\x01 \x01(\x0b\x32\x0e.testpb.Supply\"\xb6\x03\n\x11ListSupplyRequest\x12:\n\x0cprefix_query\x18\x01 \x01(\x0b\x32\".testpb.ListSupplyRequest.IndexKeyH\x00\x12;\n\x0brange_query\x18\x02 \x01(\x0b\x32$.testpb.ListSupplyRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1as\n\x08IndexKey\x12\x39\n\x05\x64\x65nom\x18\x01 \x01(\x0b\x32(.testpb.ListSupplyRequest.IndexKey.DenomH\x00\x1a%\n\x05\x44\x65nom\x12\x12\n\x05\x64\x65nom\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_denomB\x05\n\x03key\x1an\n\nRangeQuery\x12\x30\n\x04\x66rom\x18\x01 \x01(\x0b\x32\".testpb.ListSupplyRequest.IndexKey\x12.\n\x02to\x18\x02 \x01(\x0b\x32\".testpb.ListSupplyRequest.IndexKeyB\x07\n\x05query\"q\n\x12ListSupplyResponse\x12\x1e\n\x06values\x18\x01 \x03(\x0b\x32\x0e.testpb.Supply\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xae\x02\n\x10\x42\x61nkQueryService\x12\x45\n\nGetBalance\x12\x19.testpb.GetBalanceRequest\x1a\x1a.testpb.GetBalanceResponse\"\x00\x12H\n\x0bListBalance\x12\x1a.testpb.ListBalanceRequest\x1a\x1b.testpb.ListBalanceResponse\"\x00\x12\x42\n\tGetSupply\x12\x18.testpb.GetSupplyRequest\x1a\x19.testpb.GetSupplyResponse\"\x00\x12\x45\n\nListSupply\x12\x19.testpb.ListSupplyRequest\x1a\x1a.testpb.ListSupplyResponse\"\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.bank_query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_GETBALANCEREQUEST']._serialized_start=98 + _globals['_GETBALANCEREQUEST']._serialized_end=149 + _globals['_GETBALANCERESPONSE']._serialized_start=151 + _globals['_GETBALANCERESPONSE']._serialized_end=203 + _globals['_LISTBALANCEREQUEST']._serialized_start=206 + _globals['_LISTBALANCEREQUEST']._serialized_end=806 + _globals['_LISTBALANCEREQUEST_INDEXKEY']._serialized_start=412 + _globals['_LISTBALANCEREQUEST_INDEXKEY']._serialized_end=683 + _globals['_LISTBALANCEREQUEST_INDEXKEY_ADDRESSDENOM']._serialized_start=559 + _globals['_LISTBALANCEREQUEST_INDEXKEY_ADDRESSDENOM']._serialized_end=637 + _globals['_LISTBALANCEREQUEST_INDEXKEY_DENOM']._serialized_start=639 + _globals['_LISTBALANCEREQUEST_INDEXKEY_DENOM']._serialized_end=676 + _globals['_LISTBALANCEREQUEST_RANGEQUERY']._serialized_start=685 + _globals['_LISTBALANCEREQUEST_RANGEQUERY']._serialized_end=797 + _globals['_LISTBALANCERESPONSE']._serialized_start=808 + _globals['_LISTBALANCERESPONSE']._serialized_end=923 + _globals['_GETSUPPLYREQUEST']._serialized_start=925 + _globals['_GETSUPPLYREQUEST']._serialized_end=958 + _globals['_GETSUPPLYRESPONSE']._serialized_start=960 + _globals['_GETSUPPLYRESPONSE']._serialized_end=1010 + _globals['_LISTSUPPLYREQUEST']._serialized_start=1013 + _globals['_LISTSUPPLYREQUEST']._serialized_end=1451 + _globals['_LISTSUPPLYREQUEST_INDEXKEY']._serialized_start=1215 + _globals['_LISTSUPPLYREQUEST_INDEXKEY']._serialized_end=1330 + _globals['_LISTSUPPLYREQUEST_INDEXKEY_DENOM']._serialized_start=639 + _globals['_LISTSUPPLYREQUEST_INDEXKEY_DENOM']._serialized_end=676 + _globals['_LISTSUPPLYREQUEST_RANGEQUERY']._serialized_start=1332 + _globals['_LISTSUPPLYREQUEST_RANGEQUERY']._serialized_end=1442 + _globals['_LISTSUPPLYRESPONSE']._serialized_start=1453 + _globals['_LISTSUPPLYRESPONSE']._serialized_end=1566 + _globals['_BANKQUERYSERVICE']._serialized_start=1569 + _globals['_BANKQUERYSERVICE']._serialized_end=1871 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/bank_query_pb2_grpc.py b/pyinjective/proto/testpb/bank_query_pb2_grpc.py new file mode 100644 index 00000000..8fbae869 --- /dev/null +++ b/pyinjective/proto/testpb/bank_query_pb2_grpc.py @@ -0,0 +1,172 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from testpb import bank_query_pb2 as testpb_dot_bank__query__pb2 + + +class BankQueryServiceStub(object): + """BankQueryService queries the state of the tables specified by testpb/bank.proto. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetBalance = channel.unary_unary( + '/testpb.BankQueryService/GetBalance', + request_serializer=testpb_dot_bank__query__pb2.GetBalanceRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.GetBalanceResponse.FromString, + ) + self.ListBalance = channel.unary_unary( + '/testpb.BankQueryService/ListBalance', + request_serializer=testpb_dot_bank__query__pb2.ListBalanceRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.ListBalanceResponse.FromString, + ) + self.GetSupply = channel.unary_unary( + '/testpb.BankQueryService/GetSupply', + request_serializer=testpb_dot_bank__query__pb2.GetSupplyRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.GetSupplyResponse.FromString, + ) + self.ListSupply = channel.unary_unary( + '/testpb.BankQueryService/ListSupply', + request_serializer=testpb_dot_bank__query__pb2.ListSupplyRequest.SerializeToString, + response_deserializer=testpb_dot_bank__query__pb2.ListSupplyResponse.FromString, + ) + + +class BankQueryServiceServicer(object): + """BankQueryService queries the state of the tables specified by testpb/bank.proto. + """ + + def GetBalance(self, request, context): + """Get queries the Balance table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListBalance(self, request, context): + """ListBalance queries the Balance table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSupply(self, request, context): + """Get queries the Supply table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListSupply(self, request, context): + """ListSupply queries the Supply table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BankQueryServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetBalance': grpc.unary_unary_rpc_method_handler( + servicer.GetBalance, + request_deserializer=testpb_dot_bank__query__pb2.GetBalanceRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.GetBalanceResponse.SerializeToString, + ), + 'ListBalance': grpc.unary_unary_rpc_method_handler( + servicer.ListBalance, + request_deserializer=testpb_dot_bank__query__pb2.ListBalanceRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.ListBalanceResponse.SerializeToString, + ), + 'GetSupply': grpc.unary_unary_rpc_method_handler( + servicer.GetSupply, + request_deserializer=testpb_dot_bank__query__pb2.GetSupplyRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.GetSupplyResponse.SerializeToString, + ), + 'ListSupply': grpc.unary_unary_rpc_method_handler( + servicer.ListSupply, + request_deserializer=testpb_dot_bank__query__pb2.ListSupplyRequest.FromString, + response_serializer=testpb_dot_bank__query__pb2.ListSupplyResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'testpb.BankQueryService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BankQueryService(object): + """BankQueryService queries the state of the tables specified by testpb/bank.proto. + """ + + @staticmethod + def GetBalance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/GetBalance', + testpb_dot_bank__query__pb2.GetBalanceRequest.SerializeToString, + testpb_dot_bank__query__pb2.GetBalanceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListBalance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/ListBalance', + testpb_dot_bank__query__pb2.ListBalanceRequest.SerializeToString, + testpb_dot_bank__query__pb2.ListBalanceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSupply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/GetSupply', + testpb_dot_bank__query__pb2.GetSupplyRequest.SerializeToString, + testpb_dot_bank__query__pb2.GetSupplyResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListSupply(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.BankQueryService/ListSupply', + testpb_dot_bank__query__pb2.ListSupplyRequest.SerializeToString, + testpb_dot_bank__query__pb2.ListSupplyResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyinjective/proto/testpb/test_schema_pb2.py b/pyinjective/proto/testpb/test_schema_pb2.py new file mode 100644 index 00000000..ded03ec6 --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_pb2.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/test_schema.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from cosmos.orm.v1 import orm_pb2 as cosmos_dot_orm_dot_v1_dot_orm__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18testpb/test_schema.proto\x12\x06testpb\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x17\x63osmos/orm/v1/orm.proto\"\xc0\x04\n\x0c\x45xampleTable\x12\x0b\n\x03u32\x18\x01 \x01(\r\x12\x0b\n\x03u64\x18\x02 \x01(\x04\x12\x0b\n\x03str\x18\x03 \x01(\t\x12\n\n\x02\x62z\x18\x04 \x01(\x0c\x12&\n\x02ts\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x03\x64ur\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0b\n\x03i32\x18\x07 \x01(\x05\x12\x0b\n\x03s32\x18\x08 \x01(\x11\x12\x0c\n\x04sf32\x18\t \x01(\x0f\x12\x0b\n\x03i64\x18\n \x01(\x03\x12\x0b\n\x03s64\x18\x0b \x01(\x12\x12\x0c\n\x04sf64\x18\x0c \x01(\x10\x12\x0b\n\x03\x66\x33\x32\x18\r \x01(\x07\x12\x0b\n\x03\x66\x36\x34\x18\x0e \x01(\x06\x12\t\n\x01\x62\x18\x0f \x01(\x08\x12\x17\n\x01\x65\x18\x10 \x01(\x0e\x32\x0c.testpb.Enum\x12\x10\n\x08repeated\x18\x11 \x03(\r\x12*\n\x03map\x18\x12 \x03(\x0b\x32\x1d.testpb.ExampleTable.MapEntry\x12\x30\n\x03msg\x18\x13 \x01(\x0b\x32#.testpb.ExampleTable.ExampleMessage\x12\x0f\n\x05oneof\x18\x14 \x01(\rH\x00\x1a*\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a*\n\x0e\x45xampleMessage\x12\x0b\n\x03\x66oo\x18\x01 \x01(\t\x12\x0b\n\x03\x62\x61r\x18\x02 \x01(\x05:?\xf2\x9e\xd3\x8e\x03\x39\n\r\n\x0bu32,i64,str\x12\r\n\x07u64,str\x10\x01\x18\x01\x12\x0b\n\x07str,u32\x10\x02\x12\n\n\x06\x62z,str\x10\x03\x18\x01\x42\x05\n\x03sum\"X\n\x19\x45xampleAutoIncrementTable\x12\n\n\x02id\x18\x01 \x01(\x04\x12\t\n\x01x\x18\x02 \x01(\t\x12\t\n\x01y\x18\x03 \x01(\x05:\x19\xf2\x9e\xd3\x8e\x03\x13\n\x06\n\x02id\x10\x01\x12\x07\n\x01x\x10\x01\x18\x01\x18\x03\"6\n\x10\x45xampleSingleton\x12\x0b\n\x03\x66oo\x18\x01 \x01(\t\x12\x0b\n\x03\x62\x61r\x18\x02 \x01(\x05:\x08\xfa\x9e\xd3\x8e\x03\x02\x08\x02\"n\n\x10\x45xampleTimestamp\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12&\n\x02ts\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x18\xf2\x9e\xd3\x8e\x03\x12\n\x06\n\x02id\x10\x01\x12\x06\n\x02ts\x10\x01\x18\x04\"a\n\rSimpleExample\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06unique\x18\x02 \x01(\t\x12\x12\n\nnot_unique\x18\x03 \x01(\t:\x1e\xf2\x9e\xd3\x8e\x03\x18\n\x06\n\x04name\x12\x0c\n\x06unique\x10\x01\x18\x01\x18\x05\"F\n\x17\x45xampleAutoIncFieldName\x12\x0b\n\x03\x66oo\x18\x01 \x01(\x04\x12\x0b\n\x03\x62\x61r\x18\x02 \x01(\x04:\x11\xf2\x9e\xd3\x8e\x03\x0b\n\x07\n\x03\x66oo\x10\x01\x18\x06*d\n\x04\x45num\x12\x14\n\x10\x45NUM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NUM_ONE\x10\x01\x12\x0c\n\x08\x45NUM_TWO\x10\x02\x12\r\n\tENUM_FIVE\x10\x05\x12\x1b\n\x0e\x45NUM_NEG_THREE\x10\xfd\xff\xff\xff\xff\xff\xff\xff\xff\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.test_schema_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _EXAMPLETABLE_MAPENTRY._options = None + _EXAMPLETABLE_MAPENTRY._serialized_options = b'8\001' + _EXAMPLETABLE._options = None + _EXAMPLETABLE._serialized_options = b'\362\236\323\216\0039\n\r\n\013u32,i64,str\022\r\n\007u64,str\020\001\030\001\022\013\n\007str,u32\020\002\022\n\n\006bz,str\020\003\030\001' + _EXAMPLEAUTOINCREMENTTABLE._options = None + _EXAMPLEAUTOINCREMENTTABLE._serialized_options = b'\362\236\323\216\003\023\n\006\n\002id\020\001\022\007\n\001x\020\001\030\001\030\003' + _EXAMPLESINGLETON._options = None + _EXAMPLESINGLETON._serialized_options = b'\372\236\323\216\003\002\010\002' + _EXAMPLETIMESTAMP._options = None + _EXAMPLETIMESTAMP._serialized_options = b'\362\236\323\216\003\022\n\006\n\002id\020\001\022\006\n\002ts\020\001\030\004' + _SIMPLEEXAMPLE._options = None + _SIMPLEEXAMPLE._serialized_options = b'\362\236\323\216\003\030\n\006\n\004name\022\014\n\006unique\020\001\030\001\030\005' + _EXAMPLEAUTOINCFIELDNAME._options = None + _EXAMPLEAUTOINCFIELDNAME._serialized_options = b'\362\236\323\216\003\013\n\007\n\003foo\020\001\030\006' + _globals['_ENUM']._serialized_start=1134 + _globals['_ENUM']._serialized_end=1234 + _globals['_EXAMPLETABLE']._serialized_start=127 + _globals['_EXAMPLETABLE']._serialized_end=703 + _globals['_EXAMPLETABLE_MAPENTRY']._serialized_start=545 + _globals['_EXAMPLETABLE_MAPENTRY']._serialized_end=587 + _globals['_EXAMPLETABLE_EXAMPLEMESSAGE']._serialized_start=589 + _globals['_EXAMPLETABLE_EXAMPLEMESSAGE']._serialized_end=631 + _globals['_EXAMPLEAUTOINCREMENTTABLE']._serialized_start=705 + _globals['_EXAMPLEAUTOINCREMENTTABLE']._serialized_end=793 + _globals['_EXAMPLESINGLETON']._serialized_start=795 + _globals['_EXAMPLESINGLETON']._serialized_end=849 + _globals['_EXAMPLETIMESTAMP']._serialized_start=851 + _globals['_EXAMPLETIMESTAMP']._serialized_end=961 + _globals['_SIMPLEEXAMPLE']._serialized_start=963 + _globals['_SIMPLEEXAMPLE']._serialized_end=1060 + _globals['_EXAMPLEAUTOINCFIELDNAME']._serialized_start=1062 + _globals['_EXAMPLEAUTOINCFIELDNAME']._serialized_end=1132 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/test_schema_pb2_grpc.py b/pyinjective/proto/testpb/test_schema_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/pyinjective/proto/testpb/test_schema_query_pb2.py b/pyinjective/proto/testpb/test_schema_query_pb2.py new file mode 100644 index 00000000..f880628b --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_query_pb2.py @@ -0,0 +1,127 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: testpb/test_schema_query.proto +"""Generated protocol buffer code.""" +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 +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from cosmos.base.query.v1beta1 import pagination_pb2 as cosmos_dot_base_dot_query_dot_v1beta1_dot_pagination__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from testpb import test_schema_pb2 as testpb_dot_test__schema__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etestpb/test_schema_query.proto\x12\x06testpb\x1a*cosmos/base/query/v1beta1/pagination.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18testpb/test_schema.proto\"?\n\x16GetExampleTableRequest\x12\x0b\n\x03u32\x18\x01 \x01(\r\x12\x0b\n\x03i64\x18\x02 \x01(\x03\x12\x0b\n\x03str\x18\x03 \x01(\t\">\n\x17GetExampleTableResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\x14.testpb.ExampleTable\":\n\x1eGetExampleTableByU64StrRequest\x12\x0b\n\x03u64\x18\x01 \x01(\x04\x12\x0b\n\x03str\x18\x02 \x01(\t\"F\n\x1fGetExampleTableByU64StrResponse\x12#\n\x05value\x18\x01 \x01(\x0b\x32\x14.testpb.ExampleTable\"\x9e\x07\n\x17ListExampleTableRequest\x12@\n\x0cprefix_query\x18\x01 \x01(\x0b\x32(.testpb.ListExampleTableRequest.IndexKeyH\x00\x12\x41\n\x0brange_query\x18\x02 \x01(\x0b\x32*.testpb.ListExampleTableRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xbc\x04\n\x08IndexKey\x12K\n\ru_32_i_64_str\x18\x01 \x01(\x0b\x32\x32.testpb.ListExampleTableRequest.IndexKey.U32I64StrH\x00\x12\x43\n\x08u_64_str\x18\x02 \x01(\x0b\x32/.testpb.ListExampleTableRequest.IndexKey.U64StrH\x00\x12\x43\n\x08str_u_32\x18\x03 \x01(\x0b\x32/.testpb.ListExampleTableRequest.IndexKey.StrU32H\x00\x12@\n\x06\x62z_str\x18\x04 \x01(\x0b\x32..testpb.ListExampleTableRequest.IndexKey.BzStrH\x00\x1aY\n\tU32I64Str\x12\x10\n\x03u32\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x10\n\x03i64\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x10\n\x03str\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x06\n\x04_u32B\x06\n\x04_i64B\x06\n\x04_str\x1a<\n\x06U64Str\x12\x10\n\x03u64\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03str\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_u64B\x06\n\x04_str\x1a<\n\x06StrU32\x12\x10\n\x03str\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03u32\x18\x02 \x01(\rH\x01\x88\x01\x01\x42\x06\n\x04_strB\x06\n\x04_u32\x1a\x39\n\x05\x42zStr\x12\x0f\n\x02\x62z\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x10\n\x03str\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_bzB\x06\n\x04_strB\x05\n\x03key\x1az\n\nRangeQuery\x12\x36\n\x04\x66rom\x18\x01 \x01(\x0b\x32(.testpb.ListExampleTableRequest.IndexKey\x12\x34\n\x02to\x18\x02 \x01(\x0b\x32(.testpb.ListExampleTableRequest.IndexKeyB\x07\n\x05query\"}\n\x18ListExampleTableResponse\x12$\n\x06values\x18\x01 \x03(\x0b\x32\x14.testpb.ExampleTable\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"1\n#GetExampleAutoIncrementTableRequest\x12\n\n\x02id\x18\x01 \x01(\x04\"X\n$GetExampleAutoIncrementTableResponse\x12\x30\n\x05value\x18\x01 \x01(\x0b\x32!.testpb.ExampleAutoIncrementTable\"3\n&GetExampleAutoIncrementTableByXRequest\x12\t\n\x01x\x18\x01 \x01(\t\"[\n\'GetExampleAutoIncrementTableByXResponse\x12\x30\n\x05value\x18\x01 \x01(\x0b\x32!.testpb.ExampleAutoIncrementTable\"\xfc\x04\n$ListExampleAutoIncrementTableRequest\x12M\n\x0cprefix_query\x18\x01 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncrementTableRequest.IndexKeyH\x00\x12N\n\x0brange_query\x18\x02 \x01(\x0b\x32\x37.testpb.ListExampleAutoIncrementTableRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xd8\x01\n\x08IndexKey\x12\x46\n\x02id\x18\x01 \x01(\x0b\x32\x38.testpb.ListExampleAutoIncrementTableRequest.IndexKey.IdH\x00\x12\x44\n\x01x\x18\x02 \x01(\x0b\x32\x37.testpb.ListExampleAutoIncrementTableRequest.IndexKey.XH\x00\x1a\x1c\n\x02Id\x12\x0f\n\x02id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x05\n\x03_id\x1a\x19\n\x01X\x12\x0e\n\x01x\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x04\n\x02_xB\x05\n\x03key\x1a\x94\x01\n\nRangeQuery\x12\x43\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncrementTableRequest.IndexKey\x12\x41\n\x02to\x18\x02 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncrementTableRequest.IndexKeyB\x07\n\x05query\"\x97\x01\n%ListExampleAutoIncrementTableResponse\x12\x31\n\x06values\x18\x01 \x03(\x0b\x32!.testpb.ExampleAutoIncrementTable\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\x1c\n\x1aGetExampleSingletonRequest\"F\n\x1bGetExampleSingletonResponse\x12\'\n\x05value\x18\x01 \x01(\x0b\x32\x18.testpb.ExampleSingleton\"(\n\x1aGetExampleTimestampRequest\x12\n\n\x02id\x18\x01 \x01(\x04\"F\n\x1bGetExampleTimestampResponse\x12\'\n\x05value\x18\x01 \x01(\x0b\x32\x18.testpb.ExampleTimestamp\"\xde\x04\n\x1bListExampleTimestampRequest\x12\x44\n\x0cprefix_query\x18\x01 \x01(\x0b\x32,.testpb.ListExampleTimestampRequest.IndexKeyH\x00\x12\x45\n\x0brange_query\x18\x02 \x01(\x0b\x32..testpb.ListExampleTimestampRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xe7\x01\n\x08IndexKey\x12=\n\x02id\x18\x01 \x01(\x0b\x32/.testpb.ListExampleTimestampRequest.IndexKey.IdH\x00\x12=\n\x02ts\x18\x02 \x01(\x0b\x32/.testpb.ListExampleTimestampRequest.IndexKey.TsH\x00\x1a\x1c\n\x02Id\x12\x0f\n\x02id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x05\n\x03_id\x1a\x38\n\x02Ts\x12+\n\x02ts\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x05\n\x03_tsB\x05\n\x03key\x1a\x82\x01\n\nRangeQuery\x12:\n\x04\x66rom\x18\x01 \x01(\x0b\x32,.testpb.ListExampleTimestampRequest.IndexKey\x12\x38\n\x02to\x18\x02 \x01(\x0b\x32,.testpb.ListExampleTimestampRequest.IndexKeyB\x07\n\x05query\"\x85\x01\n\x1cListExampleTimestampResponse\x12(\n\x06values\x18\x01 \x03(\x0b\x32\x18.testpb.ExampleTimestamp\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"\'\n\x17GetSimpleExampleRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x18GetSimpleExampleResponse\x12$\n\x05value\x18\x01 \x01(\x0b\x32\x15.testpb.SimpleExample\"1\n\x1fGetSimpleExampleByUniqueRequest\x12\x0e\n\x06unique\x18\x01 \x01(\t\"H\n GetSimpleExampleByUniqueResponse\x12$\n\x05value\x18\x01 \x01(\x0b\x32\x15.testpb.SimpleExample\"\xca\x04\n\x18ListSimpleExampleRequest\x12\x41\n\x0cprefix_query\x18\x01 \x01(\x0b\x32).testpb.ListSimpleExampleRequest.IndexKeyH\x00\x12\x42\n\x0brange_query\x18\x02 \x01(\x0b\x32+.testpb.ListSimpleExampleRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1a\xe3\x01\n\x08IndexKey\x12>\n\x04name\x18\x01 \x01(\x0b\x32..testpb.ListSimpleExampleRequest.IndexKey.NameH\x00\x12\x42\n\x06unique\x18\x02 \x01(\x0b\x32\x30.testpb.ListSimpleExampleRequest.IndexKey.UniqueH\x00\x1a\"\n\x04Name\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_name\x1a(\n\x06Unique\x12\x13\n\x06unique\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_uniqueB\x05\n\x03key\x1a|\n\nRangeQuery\x12\x37\n\x04\x66rom\x18\x01 \x01(\x0b\x32).testpb.ListSimpleExampleRequest.IndexKey\x12\x35\n\x02to\x18\x02 \x01(\x0b\x32).testpb.ListSimpleExampleRequest.IndexKeyB\x07\n\x05query\"\x7f\n\x19ListSimpleExampleResponse\x12%\n\x06values\x18\x01 \x03(\x0b\x32\x15.testpb.SimpleExample\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse\"0\n!GetExampleAutoIncFieldNameRequest\x12\x0b\n\x03\x66oo\x18\x01 \x01(\x04\"T\n\"GetExampleAutoIncFieldNameResponse\x12.\n\x05value\x18\x01 \x01(\x0b\x32\x1f.testpb.ExampleAutoIncFieldName\"\x93\x04\n\"ListExampleAutoIncFieldNameRequest\x12K\n\x0cprefix_query\x18\x01 \x01(\x0b\x32\x33.testpb.ListExampleAutoIncFieldNameRequest.IndexKeyH\x00\x12L\n\x0brange_query\x18\x02 \x01(\x0b\x32\x35.testpb.ListExampleAutoIncFieldNameRequest.RangeQueryH\x00\x12:\n\npagination\x18\x03 \x01(\x0b\x32&.cosmos.base.query.v1beta1.PageRequest\x1az\n\x08IndexKey\x12\x46\n\x03\x66oo\x18\x01 \x01(\x0b\x32\x37.testpb.ListExampleAutoIncFieldNameRequest.IndexKey.FooH\x00\x1a\x1f\n\x03\x46oo\x12\x10\n\x03\x66oo\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x06\n\x04_fooB\x05\n\x03key\x1a\x90\x01\n\nRangeQuery\x12\x41\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x33.testpb.ListExampleAutoIncFieldNameRequest.IndexKey\x12?\n\x02to\x18\x02 \x01(\x0b\x32\x33.testpb.ListExampleAutoIncFieldNameRequest.IndexKeyB\x07\n\x05query\"\x93\x01\n#ListExampleAutoIncFieldNameResponse\x12/\n\x06values\x18\x01 \x03(\x0b\x32\x1f.testpb.ExampleAutoIncFieldName\x12;\n\npagination\x18\x02 \x01(\x0b\x32\'.cosmos.base.query.v1beta1.PageResponse2\xf9\x0b\n\x16TestSchemaQueryService\x12T\n\x0fGetExampleTable\x12\x1e.testpb.GetExampleTableRequest\x1a\x1f.testpb.GetExampleTableResponse\"\x00\x12l\n\x17GetExampleTableByU64Str\x12&.testpb.GetExampleTableByU64StrRequest\x1a\'.testpb.GetExampleTableByU64StrResponse\"\x00\x12W\n\x10ListExampleTable\x12\x1f.testpb.ListExampleTableRequest\x1a .testpb.ListExampleTableResponse\"\x00\x12{\n\x1cGetExampleAutoIncrementTable\x12+.testpb.GetExampleAutoIncrementTableRequest\x1a,.testpb.GetExampleAutoIncrementTableResponse\"\x00\x12\x84\x01\n\x1fGetExampleAutoIncrementTableByX\x12..testpb.GetExampleAutoIncrementTableByXRequest\x1a/.testpb.GetExampleAutoIncrementTableByXResponse\"\x00\x12~\n\x1dListExampleAutoIncrementTable\x12,.testpb.ListExampleAutoIncrementTableRequest\x1a-.testpb.ListExampleAutoIncrementTableResponse\"\x00\x12`\n\x13GetExampleSingleton\x12\".testpb.GetExampleSingletonRequest\x1a#.testpb.GetExampleSingletonResponse\"\x00\x12`\n\x13GetExampleTimestamp\x12\".testpb.GetExampleTimestampRequest\x1a#.testpb.GetExampleTimestampResponse\"\x00\x12\x63\n\x14ListExampleTimestamp\x12#.testpb.ListExampleTimestampRequest\x1a$.testpb.ListExampleTimestampResponse\"\x00\x12W\n\x10GetSimpleExample\x12\x1f.testpb.GetSimpleExampleRequest\x1a .testpb.GetSimpleExampleResponse\"\x00\x12o\n\x18GetSimpleExampleByUnique\x12\'.testpb.GetSimpleExampleByUniqueRequest\x1a(.testpb.GetSimpleExampleByUniqueResponse\"\x00\x12Z\n\x11ListSimpleExample\x12 .testpb.ListSimpleExampleRequest\x1a!.testpb.ListSimpleExampleResponse\"\x00\x12u\n\x1aGetExampleAutoIncFieldName\x12).testpb.GetExampleAutoIncFieldNameRequest\x1a*.testpb.GetExampleAutoIncFieldNameResponse\"\x00\x12x\n\x1bListExampleAutoIncFieldName\x12*.testpb.ListExampleAutoIncFieldNameRequest\x1a+.testpb.ListExampleAutoIncFieldNameResponse\"\x00\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'testpb.test_schema_query_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_GETEXAMPLETABLEREQUEST']._serialized_start=145 + _globals['_GETEXAMPLETABLEREQUEST']._serialized_end=208 + _globals['_GETEXAMPLETABLERESPONSE']._serialized_start=210 + _globals['_GETEXAMPLETABLERESPONSE']._serialized_end=272 + _globals['_GETEXAMPLETABLEBYU64STRREQUEST']._serialized_start=274 + _globals['_GETEXAMPLETABLEBYU64STRREQUEST']._serialized_end=332 + _globals['_GETEXAMPLETABLEBYU64STRRESPONSE']._serialized_start=334 + _globals['_GETEXAMPLETABLEBYU64STRRESPONSE']._serialized_end=404 + _globals['_LISTEXAMPLETABLEREQUEST']._serialized_start=407 + _globals['_LISTEXAMPLETABLEREQUEST']._serialized_end=1333 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY']._serialized_start=628 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY']._serialized_end=1200 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U32I64STR']._serialized_start=921 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U32I64STR']._serialized_end=1010 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U64STR']._serialized_start=1012 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_U64STR']._serialized_end=1072 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_STRU32']._serialized_start=1074 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_STRU32']._serialized_end=1134 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_BZSTR']._serialized_start=1136 + _globals['_LISTEXAMPLETABLEREQUEST_INDEXKEY_BZSTR']._serialized_end=1193 + _globals['_LISTEXAMPLETABLEREQUEST_RANGEQUERY']._serialized_start=1202 + _globals['_LISTEXAMPLETABLEREQUEST_RANGEQUERY']._serialized_end=1324 + _globals['_LISTEXAMPLETABLERESPONSE']._serialized_start=1335 + _globals['_LISTEXAMPLETABLERESPONSE']._serialized_end=1460 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_start=1462 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_end=1511 + _globals['_GETEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_start=1513 + _globals['_GETEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_end=1601 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXREQUEST']._serialized_start=1603 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXREQUEST']._serialized_end=1654 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXRESPONSE']._serialized_start=1656 + _globals['_GETEXAMPLEAUTOINCREMENTTABLEBYXRESPONSE']._serialized_end=1747 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_start=1750 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST']._serialized_end=2386 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY']._serialized_start=2010 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY']._serialized_end=2226 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_ID']._serialized_start=2164 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_ID']._serialized_end=2192 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_X']._serialized_start=2194 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_INDEXKEY_X']._serialized_end=2219 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_RANGEQUERY']._serialized_start=2229 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLEREQUEST_RANGEQUERY']._serialized_end=2377 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_start=2389 + _globals['_LISTEXAMPLEAUTOINCREMENTTABLERESPONSE']._serialized_end=2540 + _globals['_GETEXAMPLESINGLETONREQUEST']._serialized_start=2542 + _globals['_GETEXAMPLESINGLETONREQUEST']._serialized_end=2570 + _globals['_GETEXAMPLESINGLETONRESPONSE']._serialized_start=2572 + _globals['_GETEXAMPLESINGLETONRESPONSE']._serialized_end=2642 + _globals['_GETEXAMPLETIMESTAMPREQUEST']._serialized_start=2644 + _globals['_GETEXAMPLETIMESTAMPREQUEST']._serialized_end=2684 + _globals['_GETEXAMPLETIMESTAMPRESPONSE']._serialized_start=2686 + _globals['_GETEXAMPLETIMESTAMPRESPONSE']._serialized_end=2756 + _globals['_LISTEXAMPLETIMESTAMPREQUEST']._serialized_start=2759 + _globals['_LISTEXAMPLETIMESTAMPREQUEST']._serialized_end=3365 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY']._serialized_start=2992 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY']._serialized_end=3223 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_ID']._serialized_start=2164 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_ID']._serialized_end=2192 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_TS']._serialized_start=3160 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_INDEXKEY_TS']._serialized_end=3216 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_RANGEQUERY']._serialized_start=3226 + _globals['_LISTEXAMPLETIMESTAMPREQUEST_RANGEQUERY']._serialized_end=3356 + _globals['_LISTEXAMPLETIMESTAMPRESPONSE']._serialized_start=3368 + _globals['_LISTEXAMPLETIMESTAMPRESPONSE']._serialized_end=3501 + _globals['_GETSIMPLEEXAMPLEREQUEST']._serialized_start=3503 + _globals['_GETSIMPLEEXAMPLEREQUEST']._serialized_end=3542 + _globals['_GETSIMPLEEXAMPLERESPONSE']._serialized_start=3544 + _globals['_GETSIMPLEEXAMPLERESPONSE']._serialized_end=3608 + _globals['_GETSIMPLEEXAMPLEBYUNIQUEREQUEST']._serialized_start=3610 + _globals['_GETSIMPLEEXAMPLEBYUNIQUEREQUEST']._serialized_end=3659 + _globals['_GETSIMPLEEXAMPLEBYUNIQUERESPONSE']._serialized_start=3661 + _globals['_GETSIMPLEEXAMPLEBYUNIQUERESPONSE']._serialized_end=3733 + _globals['_LISTSIMPLEEXAMPLEREQUEST']._serialized_start=3736 + _globals['_LISTSIMPLEEXAMPLEREQUEST']._serialized_end=4322 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY']._serialized_start=3960 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY']._serialized_end=4187 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_NAME']._serialized_start=4104 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_NAME']._serialized_end=4138 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_UNIQUE']._serialized_start=4140 + _globals['_LISTSIMPLEEXAMPLEREQUEST_INDEXKEY_UNIQUE']._serialized_end=4180 + _globals['_LISTSIMPLEEXAMPLEREQUEST_RANGEQUERY']._serialized_start=4189 + _globals['_LISTSIMPLEEXAMPLEREQUEST_RANGEQUERY']._serialized_end=4313 + _globals['_LISTSIMPLEEXAMPLERESPONSE']._serialized_start=4324 + _globals['_LISTSIMPLEEXAMPLERESPONSE']._serialized_end=4451 + _globals['_GETEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_start=4453 + _globals['_GETEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_end=4501 + _globals['_GETEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_start=4503 + _globals['_GETEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_end=4587 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_start=4590 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST']._serialized_end=5121 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY']._serialized_start=4843 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY']._serialized_end=4965 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY_FOO']._serialized_start=4927 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_INDEXKEY_FOO']._serialized_end=4958 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_RANGEQUERY']._serialized_start=4968 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMEREQUEST_RANGEQUERY']._serialized_end=5112 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_start=5124 + _globals['_LISTEXAMPLEAUTOINCFIELDNAMERESPONSE']._serialized_end=5271 + _globals['_TESTSCHEMAQUERYSERVICE']._serialized_start=5274 + _globals['_TESTSCHEMAQUERYSERVICE']._serialized_end=6803 +# @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/testpb/test_schema_query_pb2_grpc.py b/pyinjective/proto/testpb/test_schema_query_pb2_grpc.py new file mode 100644 index 00000000..a2ec41d7 --- /dev/null +++ b/pyinjective/proto/testpb/test_schema_query_pb2_grpc.py @@ -0,0 +1,514 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from testpb import test_schema_query_pb2 as testpb_dot_test__schema__query__pb2 + + +class TestSchemaQueryServiceStub(object): + """TestSchemaQueryService queries the state of the tables specified by testpb/test_schema.proto. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetExampleTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleTable', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableResponse.FromString, + ) + self.GetExampleTableByU64Str = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleTableByU64Str', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrResponse.FromString, + ) + self.ListExampleTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleTable', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTableResponse.FromString, + ) + self.GetExampleAutoIncrementTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTable', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableResponse.FromString, + ) + self.GetExampleAutoIncrementTableByX = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTableByX', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXResponse.FromString, + ) + self.ListExampleAutoIncrementTable = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleAutoIncrementTable', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableResponse.FromString, + ) + self.GetExampleSingleton = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleSingleton', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonResponse.FromString, + ) + self.GetExampleTimestamp = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleTimestamp', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampResponse.FromString, + ) + self.ListExampleTimestamp = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleTimestamp', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampResponse.FromString, + ) + self.GetSimpleExample = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetSimpleExample', + request_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleResponse.FromString, + ) + self.GetSimpleExampleByUnique = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetSimpleExampleByUnique', + request_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueResponse.FromString, + ) + self.ListSimpleExample = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListSimpleExample', + request_serializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleResponse.FromString, + ) + self.GetExampleAutoIncFieldName = channel.unary_unary( + '/testpb.TestSchemaQueryService/GetExampleAutoIncFieldName', + request_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameResponse.FromString, + ) + self.ListExampleAutoIncFieldName = channel.unary_unary( + '/testpb.TestSchemaQueryService/ListExampleAutoIncFieldName', + request_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameRequest.SerializeToString, + response_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameResponse.FromString, + ) + + +class TestSchemaQueryServiceServicer(object): + """TestSchemaQueryService queries the state of the tables specified by testpb/test_schema.proto. + """ + + def GetExampleTable(self, request, context): + """Get queries the ExampleTable table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleTableByU64Str(self, request, context): + """GetExampleTableByU64Str queries the ExampleTable table by its U64Str index + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleTable(self, request, context): + """ListExampleTable queries the ExampleTable table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleAutoIncrementTable(self, request, context): + """Get queries the ExampleAutoIncrementTable table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleAutoIncrementTableByX(self, request, context): + """GetExampleAutoIncrementTableByX queries the ExampleAutoIncrementTable table by its X index + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleAutoIncrementTable(self, request, context): + """ListExampleAutoIncrementTable queries the ExampleAutoIncrementTable table using prefix and range queries against + defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleSingleton(self, request, context): + """GetExampleSingleton queries the ExampleSingleton singleton. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleTimestamp(self, request, context): + """Get queries the ExampleTimestamp table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleTimestamp(self, request, context): + """ListExampleTimestamp queries the ExampleTimestamp table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSimpleExample(self, request, context): + """Get queries the SimpleExample table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetSimpleExampleByUnique(self, request, context): + """GetSimpleExampleByUnique queries the SimpleExample table by its Unique index + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListSimpleExample(self, request, context): + """ListSimpleExample queries the SimpleExample table using prefix and range queries against defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetExampleAutoIncFieldName(self, request, context): + """Get queries the ExampleAutoIncFieldName table by its primary key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListExampleAutoIncFieldName(self, request, context): + """ListExampleAutoIncFieldName queries the ExampleAutoIncFieldName table using prefix and range queries against + defined indexes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TestSchemaQueryServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetExampleTable': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleTable, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableResponse.SerializeToString, + ), + 'GetExampleTableByU64Str': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleTableByU64Str, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrResponse.SerializeToString, + ), + 'ListExampleTable': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleTable, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleTableResponse.SerializeToString, + ), + 'GetExampleAutoIncrementTable': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleAutoIncrementTable, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableResponse.SerializeToString, + ), + 'GetExampleAutoIncrementTableByX': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleAutoIncrementTableByX, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXResponse.SerializeToString, + ), + 'ListExampleAutoIncrementTable': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleAutoIncrementTable, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableResponse.SerializeToString, + ), + 'GetExampleSingleton': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleSingleton, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleSingletonResponse.SerializeToString, + ), + 'GetExampleTimestamp': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleTimestamp, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleTimestampResponse.SerializeToString, + ), + 'ListExampleTimestamp': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleTimestamp, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleTimestampResponse.SerializeToString, + ), + 'GetSimpleExample': grpc.unary_unary_rpc_method_handler( + servicer.GetSimpleExample, + request_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleResponse.SerializeToString, + ), + 'GetSimpleExampleByUnique': grpc.unary_unary_rpc_method_handler( + servicer.GetSimpleExampleByUnique, + request_deserializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueResponse.SerializeToString, + ), + 'ListSimpleExample': grpc.unary_unary_rpc_method_handler( + servicer.ListSimpleExample, + request_deserializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListSimpleExampleResponse.SerializeToString, + ), + 'GetExampleAutoIncFieldName': grpc.unary_unary_rpc_method_handler( + servicer.GetExampleAutoIncFieldName, + request_deserializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameResponse.SerializeToString, + ), + 'ListExampleAutoIncFieldName': grpc.unary_unary_rpc_method_handler( + servicer.ListExampleAutoIncFieldName, + request_deserializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameRequest.FromString, + response_serializer=testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'testpb.TestSchemaQueryService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class TestSchemaQueryService(object): + """TestSchemaQueryService queries the state of the tables specified by testpb/test_schema.proto. + """ + + @staticmethod + def GetExampleTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleTable', + testpb_dot_test__schema__query__pb2.GetExampleTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleTableByU64Str(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleTableByU64Str', + testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleTableByU64StrResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleTable', + testpb_dot_test__schema__query__pb2.ListExampleTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleAutoIncrementTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTable', + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleAutoIncrementTableByX(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleAutoIncrementTableByX', + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleAutoIncrementTableByXResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleAutoIncrementTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleAutoIncrementTable', + testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleAutoIncrementTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleSingleton(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleSingleton', + testpb_dot_test__schema__query__pb2.GetExampleSingletonRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleSingletonResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleTimestamp(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleTimestamp', + testpb_dot_test__schema__query__pb2.GetExampleTimestampRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleTimestampResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleTimestamp(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleTimestamp', + testpb_dot_test__schema__query__pb2.ListExampleTimestampRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleTimestampResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSimpleExample(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetSimpleExample', + testpb_dot_test__schema__query__pb2.GetSimpleExampleRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetSimpleExampleResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSimpleExampleByUnique(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetSimpleExampleByUnique', + testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetSimpleExampleByUniqueResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListSimpleExample(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListSimpleExample', + testpb_dot_test__schema__query__pb2.ListSimpleExampleRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListSimpleExampleResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetExampleAutoIncFieldName(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/GetExampleAutoIncFieldName', + testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.GetExampleAutoIncFieldNameResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListExampleAutoIncFieldName(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/testpb.TestSchemaQueryService/ListExampleAutoIncFieldName', + testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameRequest.SerializeToString, + testpb_dot_test__schema__query__pb2.ListExampleAutoIncFieldNameResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/pyproject.toml b/pyproject.toml index 58ce21f0..90016724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.0.1-rc2" +version = "1.0.1-rc3" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" @@ -99,6 +99,9 @@ skip_empty = true fail_under = 50 precision = 2 +[tool.pytest.ini_options] +testpaths = ["tests"] + [build-system] requires = ["poetry-core"]