From a29b821491c1431379a92dd7b6e0400cd48e0caa Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 4 Oct 2023 09:34:39 -0300 Subject: [PATCH] (feat) Upgraded proto definitions to the version required to use the chain streams --- .../proto/cosmwasm/wasm/v1/authz_pb2.py | 49 ++- .../proto/cosmwasm/wasm/v1/genesis_pb2.py | 21 +- .../proto/cosmwasm/wasm/v1/proposal_pb2.py | 86 +++-- .../proto/cosmwasm/wasm/v1/query_pb2.py | 119 ++++--- pyinjective/proto/cosmwasm/wasm/v1/tx_pb2.py | 190 ++++++---- .../proto/cosmwasm/wasm/v1/tx_pb2_grpc.py | 75 +++- .../proto/cosmwasm/wasm/v1/types_pb2.py | 44 ++- .../proto/ibc/applications/fee/v1/fee_pb2.py | 25 +- .../proto/ibc/applications/fee/v1/tx_pb2.py | 47 +-- .../ibc/applications/transfer/v1/query_pb2.py | 6 +- .../transfer/v1/query_pb2_grpc.py | 44 +-- .../ibc/applications/transfer/v1/tx_pb2.py | 27 +- .../proto/ibc/core/client/v1/client_pb2.py | 36 +- .../proto/ibc/core/client/v1/tx_pb2.py | 61 ++-- .../proto/ibc/core/client/v1/tx_pb2_grpc.py | 68 ++++ .../ibc/core/commitment/v1/commitment_pb2.py | 10 +- .../exchange/v1beta1/exchange_pb2.py | 212 ++++++------ .../injective/stream/v1beta1/query_pb2.py | 86 ++--- .../proto/tendermint/abci/types_pb2.py | 168 ++++----- .../tendermint/services/block/v1/block_pb2.py | 39 +++ .../services/block/v1/block_pb2_grpc.py | 4 + .../services/block/v1/block_service_pb2.py | 28 ++ .../block/v1/block_service_pb2_grpc.py | 141 ++++++++ .../block_results/v1/block_results_pb2.py | 33 ++ .../v1/block_results_pb2_grpc.py | 4 + .../v1/block_results_service_pb2.py | 28 ++ .../v1/block_results_service_pb2_grpc.py | 107 ++++++ .../services/pruning/v1/pruning_pb2.py | 56 +++ .../services/pruning/v1/pruning_pb2_grpc.py | 4 + .../services/pruning/v1/service_pb2.py | 27 ++ .../services/pruning/v1/service_pb2_grpc.py | 326 ++++++++++++++++++ .../services/version/v1/version_pb2.py | 29 ++ .../services/version/v1/version_pb2_grpc.py | 4 + .../version/v1/version_service_pb2.py | 28 ++ .../version/v1/version_service_pb2_grpc.py | 89 +++++ 35 files changed, 1783 insertions(+), 538 deletions(-) create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_pb2.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py create mode 100644 pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py diff --git a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py index cf25dbc3..a1395c1c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/authz_pb2.py @@ -14,11 +14,12 @@ 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\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') +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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,6 +28,10 @@ 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 @@ -35,6 +40,8 @@ _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 @@ -57,22 +64,26 @@ _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['_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 + _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 # @@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 18e31e46..225daf64 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/genesis_pb2.py @@ -14,9 +14,10 @@ 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\"\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') +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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -37,6 +38,8 @@ _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 @@ -45,12 +48,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=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 + _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 # @@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 index 49b6692c..2b5434a1 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/proposal_pb2.py @@ -18,7 +18,7 @@ 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') +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\"\xdc\x02\n\x11StoreCodeProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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\"\x8d\x03\n\x1bInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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\"\xae\x03\n\x1cInstantiateContract2Proposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12\'\n\x05\x61\x64min\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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\"\xee\x01\n\x17MigrateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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\"\xcb\x01\n\x14SudoContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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\"\xdc\x02\n\x17\x45xecuteContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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\"\xe5\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,\xf2\xde\x1f\x10yaml:\"new_admin\"\xd2\xb4-\x14\x63osmos.AddressString\x12*\n\x08\x63ontract\x18\x04 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:=\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x18wasm/UpdateAdminProposal\"\xa2\x01\n\x12\x43learAdminProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12*\n\x08\x63ontract\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString:<\x18\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x17wasm/ClearAdminProposal\"\xa4\x01\n\x10PinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\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\"\xa8\x01\n\x12UnpinCodesProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\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\"\x98\x04\n#StoreAndInstantiateContractProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12(\n\x06run_as\x18\x03 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressString\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) @@ -27,10 +27,16 @@ 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['run_as']._options = None + _STORECODEPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' _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['run_as']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACTPROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _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 @@ -39,6 +45,10 @@ _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['run_as']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._options = None + _INSTANTIATECONTRACT2PROPOSAL.fields_by_name['admin']._serialized_options = b'\322\264-\024cosmos.AddressString' _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 @@ -47,16 +57,24 @@ _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['contract']._options = None + _MIGRATECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _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['contract']._options = None + _SUDOCONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _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['run_as']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._options = None + _EXECUTECONTRACTPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _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 @@ -64,23 +82,19 @@ _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.fields_by_name['new_admin']._serialized_options = b'\362\336\037\020yaml:\"new_admin\"\322\264-\024cosmos.AddressString' + _UPDATEADMINPROPOSAL.fields_by_name['contract']._options = None + _UPDATEADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _UPDATEADMINPROPOSAL._options = None _UPDATEADMINPROPOSAL._serialized_options = b'\030\001\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*\030wasm/UpdateAdminProposal' + _CLEARADMINPROPOSAL.fields_by_name['contract']._options = None + _CLEARADMINPROPOSAL.fields_by_name['contract']._serialized_options = b'\322\264-\024cosmos.AddressString' _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 @@ -97,6 +111,8 @@ _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['run_as']._options = None + _STOREANDINSTANTIATECONTRACTPROPOSAL.fields_by_name['run_as']._serialized_options = b'\322\264-\024cosmos.AddressString' _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 @@ -106,29 +122,29 @@ _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 + _globals['_STORECODEPROPOSAL']._serialized_end=532 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_start=535 + _globals['_INSTANTIATECONTRACTPROPOSAL']._serialized_end=932 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_start=935 + _globals['_INSTANTIATECONTRACT2PROPOSAL']._serialized_end=1365 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_start=1368 + _globals['_MIGRATECONTRACTPROPOSAL']._serialized_end=1606 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_start=1609 + _globals['_SUDOCONTRACTPROPOSAL']._serialized_end=1812 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_start=1815 + _globals['_EXECUTECONTRACTPROPOSAL']._serialized_end=2163 + _globals['_UPDATEADMINPROPOSAL']._serialized_start=2166 + _globals['_UPDATEADMINPROPOSAL']._serialized_end=2395 + _globals['_CLEARADMINPROPOSAL']._serialized_start=2398 + _globals['_CLEARADMINPROPOSAL']._serialized_end=2560 + _globals['_PINCODESPROPOSAL']._serialized_start=2563 + _globals['_PINCODESPROPOSAL']._serialized_end=2727 + _globals['_UNPINCODESPROPOSAL']._serialized_start=2730 + _globals['_UNPINCODESPROPOSAL']._serialized_end=2898 + _globals['_ACCESSCONFIGUPDATE']._serialized_start=2900 + _globals['_ACCESSCONFIGUPDATE']._serialized_end=3024 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_start=3027 + _globals['_UPDATEINSTANTIATECONFIGPROPOSAL']._serialized_end=3293 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_start=3296 + _globals['_STOREANDINSTANTIATECONTRACTPROPOSAL']._serialized_end=3832 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py index bd8315e3..eba7447c 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/query_pb2.py @@ -16,9 +16,10 @@ 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\"+\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') +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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,20 +28,36 @@ 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 @@ -59,6 +76,10 @@ _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 @@ -81,52 +102,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=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 + _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 # @@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 51a995ec..661c797e 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\"\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\"\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*MsgRemoveCodeUploadParamsAddressesResponse2\xdc\x0c\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.MsgAddCodeUploadParamsAddressesResponseB,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\"\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\"\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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,12 +28,18 @@ 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 @@ -42,6 +48,12 @@ _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 @@ -50,22 +62,44 @@ _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' + _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 @@ -78,6 +112,8 @@ _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 @@ -98,12 +134,16 @@ _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 @@ -116,66 +156,92 @@ _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=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['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3434 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=3610 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3612 - _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3653 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=3656 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=3838 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=3840 - _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=3884 - _globals['_MSG']._serialized_start=3887 - _globals['_MSG']._serialized_end=5515 + _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['_MSGUPDATEINSTANTIATECONFIG']._serialized_start=2334 + _globals['_MSGUPDATEINSTANTIATECONFIG']._serialized_end=2550 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_start=2552 + _globals['_MSGUPDATEINSTANTIATECONFIGRESPONSE']._serialized_end=2588 + _globals['_MSGUPDATEPARAMS']._serialized_start=2591 + _globals['_MSGUPDATEPARAMS']._serialized_end=2747 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2749 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2774 + _globals['_MSGSUDOCONTRACT']._serialized_start=2777 + _globals['_MSGSUDOCONTRACT']._serialized_end=2961 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_start=2963 + _globals['_MSGSUDOCONTRACTRESPONSE']._serialized_end=3002 + _globals['_MSGPINCODES']._serialized_start=3005 + _globals['_MSGPINCODES']._serialized_end=3150 + _globals['_MSGPINCODESRESPONSE']._serialized_start=3152 + _globals['_MSGPINCODESRESPONSE']._serialized_end=3173 + _globals['_MSGUNPINCODES']._serialized_start=3176 + _globals['_MSGUNPINCODES']._serialized_end=3325 + _globals['_MSGUNPINCODESRESPONSE']._serialized_start=3327 + _globals['_MSGUNPINCODESRESPONSE']._serialized_end=3350 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_start=3353 + _globals['_MSGSTOREANDINSTANTIATECONTRACT']._serialized_end=3854 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_start=3856 + _globals['_MSGSTOREANDINSTANTIATECONTRACTRESPONSE']._serialized_end=3953 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_start=3956 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSES']._serialized_end=4132 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4134 + _globals['_MSGADDCODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4175 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_start=4178 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSES']._serialized_end=4360 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_start=4362 + _globals['_MSGREMOVECODEUPLOADPARAMSADDRESSESRESPONSE']._serialized_end=4406 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_start=4409 + _globals['_MSGSTOREANDMIGRATECONTRACT']._serialized_end=4695 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_start=4697 + _globals['_MSGSTOREANDMIGRATECONTRACTRESPONSE']._serialized_end=4794 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_start=4797 + _globals['_MSGUPDATECONTRACTLABEL']._serialized_end=4971 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_start=4973 + _globals['_MSGUPDATECONTRACTLABELRESPONSE']._serialized_end=5005 + _globals['_MSG']._serialized_start=5008 + _globals['_MSG']._serialized_end=6885 # @@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 d78c99ea..c0074e43 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/tx_pb2_grpc.py @@ -90,6 +90,16 @@ def __init__(self, channel): 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): @@ -134,7 +144,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!') @@ -222,6 +232,25 @@ def AddCodeUploadParamsAddresses(self, request, context): 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 = { @@ -300,6 +329,16 @@ def add_MsgServicer_to_server(servicer, server): 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) @@ -565,3 +604,37 @@ def AddCodeUploadParamsAddresses(request, 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 afff5713..e726472e 100644 --- a/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py +++ b/pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py @@ -17,7 +17,7 @@ from amino import amino_pb2 as amino_dot_amino__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\"\x8c\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\x14\xf2\xde\x1f\x10yaml:\"addresses\":\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\"\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*\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\"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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -53,7 +53,7 @@ _ACCESSCONFIG.fields_by_name['permission']._options = None _ACCESSCONFIG.fields_by_name['permission']._serialized_options = b'\362\336\037\021yaml:\"permission\"' _ACCESSCONFIG.fields_by_name['addresses']._options = None - _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\362\336\037\020yaml:\"addresses\"' + _ACCESSCONFIG.fields_by_name['addresses']._serialized_options = b'\322\264-\024cosmos.AddressString' _ACCESSCONFIG._options = None _ACCESSCONFIG._serialized_options = b'\230\240\037\001' _PARAMS.fields_by_name['code_upload_access']._options = None @@ -62,10 +62,16 @@ _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 @@ -78,24 +84,24 @@ _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=1388 - _globals['_ACCESSTYPE']._serialized_end=1634 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_start=1637 - _globals['_CONTRACTCODEHISTORYOPERATIONTYPE']._serialized_end=2059 + _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=374 - _globals['_PARAMS']._serialized_start=377 - _globals['_PARAMS']._serialized_end=604 - _globals['_CODEINFO']._serialized_start=607 - _globals['_CODEINFO']._serialized_end=736 - _globals['_CONTRACTINFO']._serialized_start=739 - _globals['_CONTRACTINFO']._serialized_end=1011 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_start=1014 - _globals['_CONTRACTCODEHISTORYENTRY']._serialized_end=1232 - _globals['_ABSOLUTETXPOSITION']._serialized_start=1234 - _globals['_ABSOLUTETXPOSITION']._serialized_end=1294 - _globals['_MODEL']._serialized_start=1296 - _globals['_MODEL']._serialized_end=1385 + _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 # @@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 32ac3f05..0ebc93b5 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/fee_pb2.py @@ -11,13 +11,14 @@ _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\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"\xa4\x02\n\x03\x46\x65\x65\x12]\n\x08recv_fee\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12\\\n\x07\x61\x63k_fee\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\x12`\n\x0btimeout_fee\x18\x03 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.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\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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,11 +28,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/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' + _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['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' + _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['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' + _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' _PACKETFEE.fields_by_name['fee']._options = None _PACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' _PACKETFEE._options = None @@ -42,12 +43,12 @@ _IDENTIFIEDPACKETFEES.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _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=177 - _globals['_FEE']._serialized_end=469 - _globals['_PACKETFEE']._serialized_start=471 - _globals['_PACKETFEE']._serialized_end=594 - _globals['_PACKETFEES']._serialized_start=596 - _globals['_PACKETFEES']._serialized_end=671 - _globals['_IDENTIFIEDPACKETFEES']._serialized_start=674 - _globals['_IDENTIFIEDPACKETFEES']._serialized_end=815 + _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 # @@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 7ad64282..2113deac 100644 --- a/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/fee/v1/tx_pb2.py @@ -11,13 +11,14 @@ _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\x14gogoproto/gogo.proto\x1a!ibc/applications/fee/v1/fee.proto\x1a!ibc/core/channel/v1/channel.proto\x1a\x17\x63osmos/msg/v1/msg.proto\"i\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:\x10\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\"\x1a\n\x18MsgRegisterPayeeResponse\"\x82\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:\x10\x88\xa0\x1f\x00\x82\xe7\xb0*\x07relayer\"&\n$MsgRegisterCounterpartyPayeeResponse\"\xa8\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\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:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06signer\"\x19\n\x17MsgPayPacketFeeResponse\"\xa1\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00:\x13\x88\xa0\x1f\x00\x82\xe7\xb0*\npacket_fee\"\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\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\"\xc7\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\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\"\xc5\x01\n\x14MsgPayPacketFeeAsync\x12\x36\n\tpacket_id\x18\x01 \x01(\x0b\x32\x1d.ibc.core.channel.v1.PacketIdB\x04\xc8\xde\x1f\x00\x12<\n\npacket_fee\x18\x02 \x01(\x0b\x32\".ibc.applications.fee.v1.PacketFeeB\x04\xc8\xde\x1f\x00: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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -27,37 +28,37 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z5github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types' _MSGREGISTERPAYEE._options = None - _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer' + _MSGREGISTERPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\033cosmos-sdk/MsgRegisterPayee' _MSGREGISTERCOUNTERPARTYPAYEE._options = None - _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer' + _MSGREGISTERCOUNTERPARTYPAYEE._serialized_options = b'\210\240\037\000\202\347\260*\007relayer\212\347\260*\'cosmos-sdk/MsgRegisterCounterpartyPayee' _MSGPAYPACKETFEE.fields_by_name['fee']._options = None _MSGPAYPACKETFEE.fields_by_name['fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEE._options = None - _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer' + _MSGPAYPACKETFEE._serialized_options = b'\210\240\037\000\202\347\260*\006signer\212\347\260*\032cosmos-sdk/MsgPayPacketFee' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_id']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._options = None _MSGPAYPACKETFEEASYNC.fields_by_name['packet_fee']._serialized_options = b'\310\336\037\000' _MSGPAYPACKETFEEASYNC._options = None - _MSGPAYPACKETFEEASYNC._serialized_options = b'\210\240\037\000\202\347\260*\npacket_fee' + _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=178 - _globals['_MSGREGISTERPAYEE']._serialized_end=283 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_start=285 - _globals['_MSGREGISTERPAYEERESPONSE']._serialized_end=311 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_start=314 - _globals['_MSGREGISTERCOUNTERPARTYPAYEE']._serialized_end=444 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_start=446 - _globals['_MSGREGISTERCOUNTERPARTYPAYEERESPONSE']._serialized_end=484 - _globals['_MSGPAYPACKETFEE']._serialized_start=487 - _globals['_MSGPAYPACKETFEE']._serialized_end=655 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=657 - _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=682 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=685 - _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=846 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=848 - _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=878 - _globals['_MSG']._serialized_start=881 - _globals['_MSG']._serialized_end=1383 + _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=782 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_start=784 + _globals['_MSGPAYPACKETFEERESPONSE']._serialized_end=809 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_start=812 + _globals['_MSGPAYPACKETFEEASYNC']._serialized_end=1009 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_start=1011 + _globals['_MSGPAYPACKETFEEASYNCRESPONSE']._serialized_end=1041 + _globals['_MSG']._serialized_start=1044 + _globals['_MSG']._serialized_end=1546 # @@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 3a9395aa..93917afa 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\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/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\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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -31,10 +31,10 @@ _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['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['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['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 74c1b392..c2bce469 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.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.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.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 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!') raise NotImplementedError('Method not implemented!') - 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!') @@ -96,16 +96,16 @@ def TotalEscrowForDenom(self, request, context): def add_QueryServicer_to_server(servicer, server): rpc_method_handlers = { - '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, ), + '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, + ), '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 DenomTrace(request, + def DenomTraces(request, target, options=(), channel_credentials=None, @@ -148,14 +148,14 @@ 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) @staticmethod - def DenomTraces(request, + def DenomTrace(request, target, options=(), channel_credentials=None, @@ -165,9 +165,9 @@ 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) diff --git a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py index 4deb94d7..cdccbedc 100644 --- a/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py @@ -11,6 +11,7 @@ _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 @@ -18,7 +19,7 @@ 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\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\"\x80\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\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\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\x12\x19\n\x11timeout_timestamp\x18\x07 \x01(\x04\x12\x0c\n\x04memo\x18\x08 \x01(\t:\x0f\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"-\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\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\"\xab\x02\n\x0bMsgTransfer\x12\x13\n\x0bsource_port\x18\x01 \x01(\t\x12\x16\n\x0esource_channel\x18\x02 \x01(\t\x12>\n\x05token\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x14\xc8\xde\x1f\x00\x9a\xe7\xb0*\x0blegacy_coin\x12\x0e\n\x06sender\x18\x04 \x01(\t\x12\x10\n\x08receiver\x18\x05 \x01(\t\x12\x38\n\x0etimeout_height\x18\x06 \x01(\x0b\x32\x1a.ibc.core.client.v1.HeightB\x04\xc8\xde\x1f\x00\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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,11 +29,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z7github.com/cosmos/ibc-go/v8/modules/apps/transfer/types' _MSGTRANSFER.fields_by_name['token']._options = None - _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000' + _MSGTRANSFER.fields_by_name['token']._serialized_options = b'\310\336\037\000\232\347\260*\013legacy_coin' _MSGTRANSFER.fields_by_name['timeout_height']._options = None _MSGTRANSFER.fields_by_name['timeout_height']._serialized_options = b'\310\336\037\000' _MSGTRANSFER._options = None - _MSGTRANSFER._serialized_options = b'\210\240\037\000\202\347\260*\006sender' + _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 @@ -41,14 +42,14 @@ _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=229 - _globals['_MSGTRANSFER']._serialized_end=485 - _globals['_MSGTRANSFERRESPONSE']._serialized_start=487 - _globals['_MSGTRANSFERRESPONSE']._serialized_end=532 - _globals['_MSGUPDATEPARAMS']._serialized_start=534 - _globals['_MSGUPDATEPARAMS']._serialized_end=644 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=646 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=671 - _globals['_MSG']._serialized_start=674 - _globals['_MSG']._serialized_end=910 + _globals['_MSGTRANSFER']._serialized_start=248 + _globals['_MSGTRANSFER']._serialized_end=547 + _globals['_MSGTRANSFERRESPONSE']._serialized_start=549 + _globals['_MSGTRANSFERRESPONSE']._serialized_end=594 + _globals['_MSGUPDATEPARAMS']._serialized_start=596 + _globals['_MSGUPDATEPARAMS']._serialized_end=706 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=708 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=733 + _globals['_MSG']._serialized_start=736 + _globals['_MSG']._serialized_end=972 # @@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 6cca4816..e6e836cd 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 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 +from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -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\"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\"\x97\x01\n\x14\x43lientUpdateProposal\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x19\n\x11subject_client_id\x18\x03 \x01(\t\x12\x1c\n\x14substitute_client_id\x18\x04 \x01(\t:\"\x88\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"\xc8\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\x12\x33\n\x15upgraded_client_state\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any:*\x88\xa0\x1f\x00\x98\xa0\x1f\x00\xe8\xa0\x1f\x01\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\"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(\tB: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$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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -30,26 +30,32 @@ _CONSENSUSSTATEWITHHEIGHT.fields_by_name['height']._serialized_options = b'\310\336\037\000' _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' + _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'\210\240\037\000\312\264-\032cosmos.gov.v1beta1.Content' + _CLIENTUPDATEPROPOSAL._serialized_options = b'\030\001\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'\210\240\037\000\230\240\037\000\350\240\037\001\312\264-\032cosmos.gov.v1beta1.Content' - _HEIGHT._options = None - _HEIGHT._serialized_options = b'\210\240\037\000\230\240\037\000' + _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['_CLIENTUPDATEPROPOSAL']._serialized_start=505 - _globals['_CLIENTUPDATEPROPOSAL']._serialized_end=656 - _globals['_UPGRADEPROPOSAL']._serialized_start=659 - _globals['_UPGRADEPROPOSAL']._serialized_end=859 - _globals['_HEIGHT']._serialized_start=861 - _globals['_HEIGHT']._serialized_end=929 - _globals['_PARAMS']._serialized_start=931 - _globals['_PARAMS']._serialized_end=964 + _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 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py index 054ffe71..50fb6af7 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2.py @@ -12,12 +12,13 @@ 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\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\"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\x91\x04\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\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\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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,32 +35,46 @@ _MSGUPGRADECLIENT._serialized_options = b'\210\240\037\000\202\347\260*\006signer' _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=159 - _globals['_MSGCREATECLIENT']._serialized_end=300 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_start=302 - _globals['_MSGCREATECLIENTRESPONSE']._serialized_end=327 - _globals['_MSGUPDATECLIENT']._serialized_start=329 - _globals['_MSGUPDATECLIENT']._serialized_end=444 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_start=446 - _globals['_MSGUPDATECLIENTRESPONSE']._serialized_end=471 - _globals['_MSGUPGRADECLIENT']._serialized_start=474 - _globals['_MSGUPGRADECLIENT']._serialized_end=704 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_start=706 - _globals['_MSGUPGRADECLIENTRESPONSE']._serialized_end=732 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_start=734 - _globals['_MSGSUBMITMISBEHAVIOUR']._serialized_end=855 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_start=857 - _globals['_MSGSUBMITMISBEHAVIOURRESPONSE']._serialized_end=888 - _globals['_MSGUPDATEPARAMS']._serialized_start=890 - _globals['_MSGUPDATEPARAMS']._serialized_end=990 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=992 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1017 - _globals['_MSG']._serialized_start=1020 - _globals['_MSG']._serialized_end=1549 + _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 # @@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 631f6b89..9fc38cbf 100644 --- a/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py +++ b/pyinjective/proto/ibc/core/client/v1/tx_pb2_grpc.py @@ -35,6 +35,16 @@ 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, @@ -74,6 +84,20 @@ 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. """ @@ -104,6 +128,16 @@ 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, @@ -188,6 +222,40 @@ def SubmitMisbehaviour(request, 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, diff --git a/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py b/pyinjective/proto/ibc/core/commitment/v1/commitment_pb2.py index 95aaf82a..ed3dd692 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\"$\n\nMerklePath\x12\x10\n\x08key_path\x18\x01 \x03(\t:\x04\x98\xa0\x1f\x00\"?\n\x0bMerkleProof\x12\x30\n\x06proofs\x18\x01 \x03(\x0b\x32 .cosmos.ics23.v1.CommitmentProofB>ZZ\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)injective/exchange/v1beta1/exchange.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x99\x0f\n\x06Params\x12H\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12N\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12S\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12S\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Y\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12X\n default_maintenance_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12 \n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03\x12\x18\n\x10\x66unding_multiple\x18\n \x01(\x03\x12N\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12W\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12T\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\r\x12_\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12(\n trading_rewards_vesting_duration\x18\x10 \x01(\x03\x12T\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00\x12\x62\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x38.injective.exchange.v1beta1.AtomicMarketOrderAccessLevel\x12_\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x65\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12i\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12Q\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x33\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08\x12\'\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03:\x04\xe8\xa0\x1f\x01\"v\n\x13MarketFeeMultiplier\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x46\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xbf\x06\n\x10\x44\x65rivativeMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x13\n\x0boracle_base\x18\x02 \x01(\t\x12\x14\n\x0coracle_quote\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x13\n\x0bquote_denom\x18\x06 \x01(\t\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12L\n\x14initial_margin_ratio\x18\x08 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18maintenance_margin_ratio\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0emaker_fee_rate\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x13\n\x0bisPerpetual\x18\r \x01(\x08\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\xa7\x06\n\x13\x42inaryOptionsMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x15\n\roracle_symbol\x18\x02 \x01(\t\x12\x17\n\x0foracle_provider\x18\x03 \x01(\t\x12\x39\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleType\x12\x1b\n\x13oracle_scale_factor\x18\x05 \x01(\r\x12\x1c\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03\x12\x1c\n\x14settlement_timestamp\x18\x07 \x01(\x03\x12\r\n\x05\x61\x64min\x18\x08 \x01(\t\x12\x13\n\x0bquote_denom\x18\t \x01(\t\x12\x11\n\tmarket_id\x18\n \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x0b \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x0c \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\r \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\x0f \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\x10 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x11 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec:\x04\x88\xa0\x1f\x00\"\x92\x02\n\x17\x45xpiryFuturesMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03\x12\x1c\n\x14twap_start_timestamp\x18\x03 \x01(\x03\x12^\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10settlement_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x81\x02\n\x13PerpetualMarketInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12O\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12L\n\x14hourly_interest_rate\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x1e\n\x16next_funding_timestamp\x18\x04 \x01(\x03\x12\x18\n\x10\x66unding_interval\x18\x05 \x01(\x03\"\xc6\x01\n\x16PerpetualMarketFunding\x12J\n\x12\x63umulative_funding\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x63umulative_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x16\n\x0elast_timestamp\x18\x03 \x01(\x03\"}\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12H\n\x10settlement_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\".\n\x14NextFundingTimestamp\x12\x16\n\x0enext_timestamp\x18\x01 \x01(\x03\"\xe4\x01\n\x0eMidPriceAndTOB\x12\x41\n\tmid_price\x18\x01 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x8f\x04\n\nSpotMarket\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x12\n\nbase_denom\x18\x02 \x01(\t\x12\x13\n\x0bquote_denom\x18\x03 \x01(\t\x12\x46\n\x0emaker_fee_rate\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x46\n\x0etaker_fee_rate\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x11\n\tmarket_id\x18\x07 \x01(\t\x12\x38\n\x06status\x18\x08 \x01(\x0e\x32(.injective.exchange.v1beta1.MarketStatus\x12K\n\x13min_price_tick_size\x18\t \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12N\n\x16min_quantity_tick_size\x18\n \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x9b\x01\n\x07\x44\x65posit\x12I\n\x11\x61vailable_balance\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtotal_balance\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"%\n\x14SubaccountTradeNonce\x12\r\n\x05nonce\x18\x01 \x01(\r\"\xba\x01\n\tOrderInfo\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x15\n\rfee_recipient\x18\x02 \x01(\t\x12=\n\x05price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe1\x01\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa9\x02\n\x0eSpotLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12@\n\x08\x66illable\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\"\xae\x02\n\x0fSpotMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x44\n\x0c\x62\x61lance_hold\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x03 \x01(\x0c\x12\x39\n\norder_type\x18\x04 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa7\x02\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\norder_info\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x03 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xe9\x02\n\x1bSubaccountOrderbookMetadata\x12!\n\x19vanilla_limit_order_count\x18\x01 \x01(\r\x12%\n\x1dreduce_only_limit_order_count\x18\x02 \x01(\r\x12V\n\x1e\x61ggregate_reduce_only_quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12R\n\x1a\x61ggregate_vanilla_quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\'\n\x1fvanilla_conditional_order_count\x18\x05 \x01(\r\x12+\n#reduce_only_conditional_order_count\x18\x06 \x01(\r\"\xa8\x01\n\x0fSubaccountOrder\x12=\n\x05price\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x14\n\x0cisReduceOnly\x18\x03 \x01(\x08\"e\n\x13SubaccountOrderData\x12:\n\x05order\x18\x01 \x01(\x0b\x32+.injective.exchange.v1beta1.SubaccountOrder\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\"\xef\x02\n\x14\x44\x65rivativeLimitOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08\x66illable\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xf3\x02\n\x15\x44\x65rivativeMarketOrder\x12?\n\norder_info\x18\x01 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderInfoB\x04\xc8\xde\x1f\x00\x12\x39\n\norder_type\x18\x02 \x01(\x0e\x32%.injective.exchange.v1beta1.OrderType\x12>\n\x06margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0bmargin_hold\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rtrigger_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x01\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x06 \x01(\x0c\"\xb3\x02\n\x08Position\x12\x0e\n\x06isLong\x18\x01 \x01(\x08\x12@\n\x08quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"8\n\x14MarketOrderIndicator\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\r\n\x05isBuy\x18\x02 \x01(\x08\"\x98\x02\n\x08TradeLog\x12@\n\x08quantity\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x03 \x01(\x0c\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"\xff\x01\n\rPositionDelta\x12\x0f\n\x07is_long\x18\x01 \x01(\x08\x12J\n\x12\x65xecution_quantity\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12H\n\x10\x65xecution_margin\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12G\n\x0f\x65xecution_price\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xa4\x02\n\x12\x44\x65rivativeTradeLog\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x41\n\x0eposition_delta\x18\x02 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x05 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01\"c\n\x12SubaccountPosition\x12\x36\n\x08position\x18\x01 \x01(\x0b\x32$.injective.exchange.v1beta1.Position\x12\x15\n\rsubaccount_id\x18\x02 \x01(\x0c\"`\n\x11SubaccountDeposit\x12\x15\n\rsubaccount_id\x18\x01 \x01(\x0c\x12\x34\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.Deposit\"_\n\rDepositUpdate\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12?\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32-.injective.exchange.v1beta1.SubaccountDeposit\"\xb4\x01\n\x10PointsMultiplier\x12O\n\x17maker_points_multiplier\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12O\n\x17taker_points_multiplier\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x98\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x1f\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\t\x12S\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\x12%\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\t\x12Y\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32,.injective.exchange.v1beta1.PointsMultiplierB\x04\xc8\xde\x1f\x00\"\x98\x01\n\x12\x43\x61mpaignRewardPool\x12\x17\n\x0fstart_timestamp\x18\x01 \x01(\x03\x12i\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"\xd4\x01\n\x19TradingRewardCampaignInfo\x12!\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x02 \x03(\t\x12]\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32:.injective.exchange.v1beta1.TradingRewardCampaignBoostInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x04 \x03(\t\"\xb6\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12K\n\x13maker_discount_rate\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12K\n\x13taker_discount_rate\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x45\n\rstaked_amount\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Int\x12>\n\x06volume\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\xc0\x01\n\x13\x46\x65\x65\x44iscountSchedule\x12\x14\n\x0c\x62ucket_count\x18\x01 \x01(\x04\x12\x17\n\x0f\x62ucket_duration\x18\x02 \x01(\x03\x12\x14\n\x0cquote_denoms\x18\x03 \x03(\t\x12\x43\n\ntier_infos\x18\x04 \x03(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountTierInfo\x12\x1f\n\x17\x64isqualified_market_ids\x18\x05 \x03(\t\"9\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x0c\n\x04tier\x18\x01 \x01(\x04\x12\x15\n\rttl_timestamp\x18\x02 \x01(\x03\"\x9a\x01\n\x0cVolumeRecord\x12\x44\n\x0cmaker_volume\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x44\n\x0ctaker_volume\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"\x7f\n\x0e\x41\x63\x63ountRewards\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\\\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"h\n\x0cTradeRecords\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\'.injective.exchange.v1beta1.TradeRecord\"\'\n\rSubaccountIDs\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\x0c\"\xa1\x01\n\x0bTradeRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12@\n\x08quantity\x18\x03 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"}\n\x05Level\x12\x39\n\x01p\x18\x01 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x39\n\x01q\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"z\n\x1f\x41ggregateSubaccountVolumeRecord\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"q\n\x1c\x41ggregateAccountVolumeRecord\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12@\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32(.injective.exchange.v1beta1.MarketVolume\"a\n\x0cMarketVolume\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12>\n\x06volume\x18\x02 \x01(\x0b\x32(.injective.exchange.v1beta1.VolumeRecordB\x04\xc8\xde\x1f\x00\"0\n\rDenomDecimals\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04*t\n\x1c\x41tomicMarketOrderAccessLevel\x12\n\n\x06Nobody\x10\x00\x12\"\n\x1e\x42\x65ginBlockerSmartContractsOnly\x10\x01\x12\x16\n\x12SmartContractsOnly\x10\x02\x12\x0c\n\x08\x45veryone\x10\x03*T\n\x0cMarketStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\n\n\x06Paused\x10\x02\x12\x0e\n\nDemolished\x10\x03\x12\x0b\n\x07\x45xpired\x10\x04*\xbb\x02\n\tOrderType\x12 \n\x0bUNSPECIFIED\x10\x00\x1a\x0f\x8a\x9d \x0bUNSPECIFIED\x12\x10\n\x03\x42UY\x10\x01\x1a\x07\x8a\x9d \x03\x42UY\x12\x12\n\x04SELL\x10\x02\x1a\x08\x8a\x9d \x04SELL\x12\x1a\n\x08STOP_BUY\x10\x03\x1a\x0c\x8a\x9d \x08STOP_BUY\x12\x1c\n\tSTOP_SELL\x10\x04\x1a\r\x8a\x9d \tSTOP_SELL\x12\x1a\n\x08TAKE_BUY\x10\x05\x1a\x0c\x8a\x9d \x08TAKE_BUY\x12\x1c\n\tTAKE_SELL\x10\x06\x1a\r\x8a\x9d \tTAKE_SELL\x12\x16\n\x06\x42UY_PO\x10\x07\x1a\n\x8a\x9d \x06\x42UY_PO\x12\x18\n\x07SELL_PO\x10\x08\x1a\x0b\x8a\x9d \x07SELL_PO\x12\x1e\n\nBUY_ATOMIC\x10\t\x1a\x0e\x8a\x9d \nBUY_ATOMIC\x12 \n\x0bSELL_ATOMIC\x10\n\x1a\x0f\x8a\x9d \x0bSELL_ATOMIC*\xaf\x01\n\rExecutionType\x12\x1c\n\x18UnspecifiedExecutionType\x10\x00\x12\n\n\x06Market\x10\x01\x12\r\n\tLimitFill\x10\x02\x12\x1a\n\x16LimitMatchRestingOrder\x10\x03\x12\x16\n\x12LimitMatchNewOrder\x10\x04\x12\x15\n\x11MarketLiquidation\x10\x05\x12\x1a\n\x16\x45xpiryMarketSettlement\x10\x06*\x89\x02\n\tOrderMask\x12\x16\n\x06UNUSED\x10\x00\x1a\n\x8a\x9d \x06UNUSED\x12\x10\n\x03\x41NY\x10\x01\x1a\x07\x8a\x9d \x03\x41NY\x12\x18\n\x07REGULAR\x10\x02\x1a\x0b\x8a\x9d \x07REGULAR\x12 \n\x0b\x43ONDITIONAL\x10\x04\x1a\x0f\x8a\x9d \x0b\x43ONDITIONAL\x12.\n\x17\x44IRECTION_BUY_OR_HIGHER\x10\x08\x1a\x11\x8a\x9d \rBUY_OR_HIGHER\x12.\n\x17\x44IRECTION_SELL_OR_LOWER\x10\x10\x1a\x11\x8a\x9d \rSELL_OR_LOWER\x12\x1b\n\x0bTYPE_MARKET\x10 \x1a\n\x8a\x9d \x06MARKET\x12\x19\n\nTYPE_LIMIT\x10@\x1a\t\x8a\x9d \x05LIMITBPZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -281,110 +281,110 @@ _LEVEL.fields_by_name['q']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _MARKETVOLUME.fields_by_name['volume']._options = None _MARKETVOLUME.fields_by_name['volume']._serialized_options = b'\310\336\037\000' - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12425 - _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12541 - _globals['_MARKETSTATUS']._serialized_start=12543 - _globals['_MARKETSTATUS']._serialized_end=12627 - _globals['_ORDERTYPE']._serialized_start=12630 - _globals['_ORDERTYPE']._serialized_end=12945 - _globals['_EXECUTIONTYPE']._serialized_start=12948 - _globals['_EXECUTIONTYPE']._serialized_end=13123 - _globals['_ORDERMASK']._serialized_start=13126 - _globals['_ORDERMASK']._serialized_end=13391 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_start=12466 + _globals['_ATOMICMARKETORDERACCESSLEVEL']._serialized_end=12582 + _globals['_MARKETSTATUS']._serialized_start=12584 + _globals['_MARKETSTATUS']._serialized_end=12668 + _globals['_ORDERTYPE']._serialized_start=12671 + _globals['_ORDERTYPE']._serialized_end=12986 + _globals['_EXECUTIONTYPE']._serialized_start=12989 + _globals['_EXECUTIONTYPE']._serialized_end=13164 + _globals['_ORDERMASK']._serialized_start=13167 + _globals['_ORDERMASK']._serialized_end=13432 _globals['_PARAMS']._serialized_start=167 - _globals['_PARAMS']._serialized_end=2071 - _globals['_MARKETFEEMULTIPLIER']._serialized_start=2073 - _globals['_MARKETFEEMULTIPLIER']._serialized_end=2191 - _globals['_DERIVATIVEMARKET']._serialized_start=2194 - _globals['_DERIVATIVEMARKET']._serialized_end=3025 - _globals['_BINARYOPTIONSMARKET']._serialized_start=3028 - _globals['_BINARYOPTIONSMARKET']._serialized_end=3835 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=3838 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=4112 - _globals['_PERPETUALMARKETINFO']._serialized_start=4115 - _globals['_PERPETUALMARKETINFO']._serialized_end=4372 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=4375 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=4573 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4575 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=4700 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=4702 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4748 - _globals['_MIDPRICEANDTOB']._serialized_start=4751 - _globals['_MIDPRICEANDTOB']._serialized_end=4979 - _globals['_SPOTMARKET']._serialized_start=4982 - _globals['_SPOTMARKET']._serialized_end=5509 - _globals['_DEPOSIT']._serialized_start=5512 - _globals['_DEPOSIT']._serialized_end=5667 - _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5669 - _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5706 - _globals['_ORDERINFO']._serialized_start=5709 - _globals['_ORDERINFO']._serialized_end=5895 - _globals['_SPOTORDER']._serialized_start=5898 - _globals['_SPOTORDER']._serialized_end=6123 - _globals['_SPOTLIMITORDER']._serialized_start=6126 - _globals['_SPOTLIMITORDER']._serialized_end=6423 - _globals['_SPOTMARKETORDER']._serialized_start=6426 - _globals['_SPOTMARKETORDER']._serialized_end=6728 - _globals['_DERIVATIVEORDER']._serialized_start=6731 - _globals['_DERIVATIVEORDER']._serialized_end=7026 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7029 - _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7390 - _globals['_SUBACCOUNTORDER']._serialized_start=7393 - _globals['_SUBACCOUNTORDER']._serialized_end=7561 - _globals['_SUBACCOUNTORDERDATA']._serialized_start=7563 - _globals['_SUBACCOUNTORDERDATA']._serialized_end=7664 - _globals['_DERIVATIVELIMITORDER']._serialized_start=7667 - _globals['_DERIVATIVELIMITORDER']._serialized_end=8034 - _globals['_DERIVATIVEMARKETORDER']._serialized_start=8037 - _globals['_DERIVATIVEMARKETORDER']._serialized_end=8408 - _globals['_POSITION']._serialized_start=8411 - _globals['_POSITION']._serialized_end=8718 - _globals['_MARKETORDERINDICATOR']._serialized_start=8720 - _globals['_MARKETORDERINDICATOR']._serialized_end=8776 - _globals['_TRADELOG']._serialized_start=8779 - _globals['_TRADELOG']._serialized_end=9059 - _globals['_POSITIONDELTA']._serialized_start=9062 - _globals['_POSITIONDELTA']._serialized_end=9317 - _globals['_DERIVATIVETRADELOG']._serialized_start=9320 - _globals['_DERIVATIVETRADELOG']._serialized_end=9612 - _globals['_SUBACCOUNTPOSITION']._serialized_start=9614 - _globals['_SUBACCOUNTPOSITION']._serialized_end=9713 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9715 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9811 - _globals['_DEPOSITUPDATE']._serialized_start=9813 - _globals['_DEPOSITUPDATE']._serialized_end=9908 - _globals['_POINTSMULTIPLIER']._serialized_start=9911 - _globals['_POINTSMULTIPLIER']._serialized_end=10091 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10094 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10374 - _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10377 - _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10529 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10532 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10744 - _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10747 - _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11057 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11060 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11252 - _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11254 - _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11311 - _globals['_VOLUMERECORD']._serialized_start=11314 - _globals['_VOLUMERECORD']._serialized_end=11468 - _globals['_ACCOUNTREWARDS']._serialized_start=11470 - _globals['_ACCOUNTREWARDS']._serialized_end=11597 - _globals['_TRADERECORDS']._serialized_start=11599 - _globals['_TRADERECORDS']._serialized_end=11703 - _globals['_SUBACCOUNTIDS']._serialized_start=11705 - _globals['_SUBACCOUNTIDS']._serialized_end=11744 - _globals['_TRADERECORD']._serialized_start=11747 - _globals['_TRADERECORD']._serialized_end=11908 - _globals['_LEVEL']._serialized_start=11910 - _globals['_LEVEL']._serialized_end=12035 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12037 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12159 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12161 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12274 - _globals['_MARKETVOLUME']._serialized_start=12276 - _globals['_MARKETVOLUME']._serialized_end=12373 - _globals['_DENOMDECIMALS']._serialized_start=12375 - _globals['_DENOMDECIMALS']._serialized_end=12423 + _globals['_PARAMS']._serialized_end=2112 + _globals['_MARKETFEEMULTIPLIER']._serialized_start=2114 + _globals['_MARKETFEEMULTIPLIER']._serialized_end=2232 + _globals['_DERIVATIVEMARKET']._serialized_start=2235 + _globals['_DERIVATIVEMARKET']._serialized_end=3066 + _globals['_BINARYOPTIONSMARKET']._serialized_start=3069 + _globals['_BINARYOPTIONSMARKET']._serialized_end=3876 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=3879 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=4153 + _globals['_PERPETUALMARKETINFO']._serialized_start=4156 + _globals['_PERPETUALMARKETINFO']._serialized_end=4413 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=4416 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=4614 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4616 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=4741 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=4743 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4789 + _globals['_MIDPRICEANDTOB']._serialized_start=4792 + _globals['_MIDPRICEANDTOB']._serialized_end=5020 + _globals['_SPOTMARKET']._serialized_start=5023 + _globals['_SPOTMARKET']._serialized_end=5550 + _globals['_DEPOSIT']._serialized_start=5553 + _globals['_DEPOSIT']._serialized_end=5708 + _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5710 + _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5747 + _globals['_ORDERINFO']._serialized_start=5750 + _globals['_ORDERINFO']._serialized_end=5936 + _globals['_SPOTORDER']._serialized_start=5939 + _globals['_SPOTORDER']._serialized_end=6164 + _globals['_SPOTLIMITORDER']._serialized_start=6167 + _globals['_SPOTLIMITORDER']._serialized_end=6464 + _globals['_SPOTMARKETORDER']._serialized_start=6467 + _globals['_SPOTMARKETORDER']._serialized_end=6769 + _globals['_DERIVATIVEORDER']._serialized_start=6772 + _globals['_DERIVATIVEORDER']._serialized_end=7067 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_start=7070 + _globals['_SUBACCOUNTORDERBOOKMETADATA']._serialized_end=7431 + _globals['_SUBACCOUNTORDER']._serialized_start=7434 + _globals['_SUBACCOUNTORDER']._serialized_end=7602 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=7604 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=7705 + _globals['_DERIVATIVELIMITORDER']._serialized_start=7708 + _globals['_DERIVATIVELIMITORDER']._serialized_end=8075 + _globals['_DERIVATIVEMARKETORDER']._serialized_start=8078 + _globals['_DERIVATIVEMARKETORDER']._serialized_end=8449 + _globals['_POSITION']._serialized_start=8452 + _globals['_POSITION']._serialized_end=8759 + _globals['_MARKETORDERINDICATOR']._serialized_start=8761 + _globals['_MARKETORDERINDICATOR']._serialized_end=8817 + _globals['_TRADELOG']._serialized_start=8820 + _globals['_TRADELOG']._serialized_end=9100 + _globals['_POSITIONDELTA']._serialized_start=9103 + _globals['_POSITIONDELTA']._serialized_end=9358 + _globals['_DERIVATIVETRADELOG']._serialized_start=9361 + _globals['_DERIVATIVETRADELOG']._serialized_end=9653 + _globals['_SUBACCOUNTPOSITION']._serialized_start=9655 + _globals['_SUBACCOUNTPOSITION']._serialized_end=9754 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=9756 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=9852 + _globals['_DEPOSITUPDATE']._serialized_start=9854 + _globals['_DEPOSITUPDATE']._serialized_end=9949 + _globals['_POINTSMULTIPLIER']._serialized_start=9952 + _globals['_POINTSMULTIPLIER']._serialized_end=10132 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=10135 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=10415 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=10418 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=10570 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=10573 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=10785 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=10788 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=11098 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=11101 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=11293 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=11295 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=11352 + _globals['_VOLUMERECORD']._serialized_start=11355 + _globals['_VOLUMERECORD']._serialized_end=11509 + _globals['_ACCOUNTREWARDS']._serialized_start=11511 + _globals['_ACCOUNTREWARDS']._serialized_end=11638 + _globals['_TRADERECORDS']._serialized_start=11640 + _globals['_TRADERECORDS']._serialized_end=11744 + _globals['_SUBACCOUNTIDS']._serialized_start=11746 + _globals['_SUBACCOUNTIDS']._serialized_end=11785 + _globals['_TRADERECORD']._serialized_start=11788 + _globals['_TRADERECORD']._serialized_end=11949 + _globals['_LEVEL']._serialized_start=11951 + _globals['_LEVEL']._serialized_end=12076 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=12078 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=12200 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=12202 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=12315 + _globals['_MARKETVOLUME']._serialized_start=12317 + _globals['_MARKETVOLUME']._serialized_end=12414 + _globals['_DENOMDECIMALS']._serialized_start=12416 + _globals['_DENOMDECIMALS']._serialized_end=12464 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py index 84af83e3..b3393540 100644 --- a/pyinjective/proto/injective/stream/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/stream/v1beta1/query_pb2.py @@ -17,7 +17,7 @@ from injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xc0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12<\n\rbank_balances\x18\x02 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x03 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x04 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x05 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12\x38\n\x0bspot_orders\x18\x06 \x03(\x0b\x32#.injective.stream.v1beta1.SpotOrder\x12\x44\n\x11\x64\x65rivative_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\x12I\n\x16spot_orderbook_updates\x18\x08 \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\n \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0b \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xd3\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\"\xdb\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t2g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/stream/v1beta1/query.proto\x12\x18injective.stream.v1beta1\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\'injective/exchange/v1beta1/events.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xb6\x06\n\rStreamRequest\x12P\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32,.injective.stream.v1beta1.BankBalancesFilterB\x04\xc8\xde\x1f\x01\x12\\\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32\x32.injective.stream.v1beta1.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32&.injective.stream.v1beta1.TradesFilterB\x04\xc8\xde\x1f\x01\x12H\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12N\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32&.injective.stream.v1beta1.OrdersFilterB\x04\xc8\xde\x1f\x01\x12O\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12U\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32).injective.stream.v1beta1.OrderbookFilterB\x04\xc8\xde\x1f\x01\x12I\n\x10positions_filter\x18\t \x01(\x0b\x32).injective.stream.v1beta1.PositionsFilterB\x04\xc8\xde\x1f\x01\x12N\n\x13oracle_price_filter\x18\n \x01(\x0b\x32+.injective.stream.v1beta1.OraclePriceFilterB\x04\xc8\xde\x1f\x01\"\xe0\x05\n\x0eStreamResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\x12\x12\n\nblock_time\x18\x02 \x01(\x03\x12<\n\rbank_balances\x18\x03 \x03(\x0b\x32%.injective.stream.v1beta1.BankBalance\x12I\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32,.injective.stream.v1beta1.SubaccountDeposits\x12\x38\n\x0bspot_trades\x18\x05 \x03(\x0b\x32#.injective.stream.v1beta1.SpotTrade\x12\x44\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32).injective.stream.v1beta1.DerivativeTrade\x12>\n\x0bspot_orders\x18\x07 \x03(\x0b\x32).injective.stream.v1beta1.SpotOrderUpdate\x12J\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32/.injective.stream.v1beta1.DerivativeOrderUpdate\x12I\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12O\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32).injective.stream.v1beta1.OrderbookUpdate\x12\x35\n\tpositions\x18\x0b \x03(\x0b\x32\".injective.stream.v1beta1.Position\x12<\n\roracle_prices\x18\x0c \x03(\x0b\x32%.injective.stream.v1beta1.OraclePrice\"V\n\x0fOrderbookUpdate\x12\x0b\n\x03seq\x18\x01 \x01(\x04\x12\x36\n\torderbook\x18\x02 \x01(\x0b\x32#.injective.stream.v1beta1.Orderbook\"\x8d\x01\n\tOrderbook\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x35\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\x12\x36\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.Level\"}\n\x0b\x42\x61nkBalance\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12]\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.Coins\"p\n\x12SubaccountDeposits\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x43\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32+.injective.stream.v1beta1.SubaccountDepositB\x04\xc8\xde\x1f\x00\"^\n\x11SubaccountDeposit\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12:\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32#.injective.exchange.v1beta1.DepositB\x04\xc8\xde\x1f\x00\"\xa3\x01\n\x0fSpotOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x32\n\x05order\x18\x04 \x01(\x0b\x32#.injective.stream.v1beta1.SpotOrder\"_\n\tSpotOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12?\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00\"\xaf\x01\n\x15\x44\x65rivativeOrderUpdate\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.injective.stream.v1beta1.OrderUpdateStatus\x12\x12\n\norder_hash\x18\x02 \x01(\x0c\x12\x0b\n\x03\x63id\x18\x03 \x01(\t\x12\x38\n\x05order\x18\x04 \x01(\x0b\x32).injective.stream.v1beta1.DerivativeOrder\"~\n\x0f\x44\x65rivativeOrder\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x45\n\x05order\x18\x02 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00\x12\x11\n\tis_market\x18\x03 \x01(\x08\"\xdd\x02\n\x08Position\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0e\n\x06isLong\x18\x03 \x01(\x08\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x43\n\x0b\x65ntry_price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12>\n\x06margin\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12P\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\"j\n\x0bOraclePrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12=\n\x05price\x18\x02 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xd3\x02\n\tSpotTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12@\n\x08quantity\x18\x04 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12=\n\x05price\x18\x05 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x15\n\rsubaccount_id\x18\x06 \x01(\t\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\x0c\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\"\xdb\x02\n\x0f\x44\x65rivativeTrade\x12\x11\n\tmarket_id\x18\x01 \x01(\t\x12\x0e\n\x06is_buy\x18\x02 \x01(\x08\x12\x15\n\rexecutionType\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x41\n\x0eposition_delta\x18\x05 \x01(\x0b\x32).injective.exchange.v1beta1.PositionDelta\x12>\n\x06payout\x18\x06 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12;\n\x03\x66\x65\x65\x18\x07 \x01(\tB.\xc8\xde\x1f\x00\xda\xde\x1f&github.com/cosmos/cosmos-sdk/types.Dec\x12\x12\n\norder_hash\x18\x08 \x01(\t\x12#\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01\":\n\x0cTradesFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"=\n\x0fPositionsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\":\n\x0cOrdersFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\x12\x12\n\nmarket_ids\x18\x02 \x03(\t\"%\n\x0fOrderbookFilter\x12\x12\n\nmarket_ids\x18\x01 \x03(\t\"&\n\x12\x42\x61nkBalancesFilter\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\"2\n\x18SubaccountDepositsFilter\x12\x16\n\x0esubaccount_ids\x18\x01 \x03(\t\"#\n\x11OraclePriceFilter\x12\x0e\n\x06symbol\x18\x01 \x03(\t*L\n\x11OrderUpdateStatus\x12\x0f\n\x0bUnspecified\x10\x00\x12\n\n\x06\x42ooked\x10\x01\x12\x0b\n\x07Matched\x10\x02\x12\r\n\tCancelled\x10\x03\x32g\n\x06Stream\x12]\n\x06Stream\x12\'.injective.stream.v1beta1.StreamRequest\x1a(.injective.stream.v1beta1.StreamResponse0\x01\x42\x46ZDgithub.com/InjectiveLabs/injective-core/injective-chain/stream/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -80,46 +80,52 @@ _DERIVATIVETRADE.fields_by_name['fee']._serialized_options = b'\310\336\037\000\332\336\037&github.com/cosmos/cosmos-sdk/types.Dec' _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._options = None _DERIVATIVETRADE.fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' + _globals['_ORDERUPDATESTATUS']._serialized_start=4409 + _globals['_ORDERUPDATESTATUS']._serialized_end=4485 _globals['_STREAMREQUEST']._serialized_start=205 _globals['_STREAMREQUEST']._serialized_end=1027 _globals['_STREAMRESPONSE']._serialized_start=1030 - _globals['_STREAMRESPONSE']._serialized_end=1734 - _globals['_ORDERBOOKUPDATE']._serialized_start=1736 - _globals['_ORDERBOOKUPDATE']._serialized_end=1822 - _globals['_ORDERBOOK']._serialized_start=1825 - _globals['_ORDERBOOK']._serialized_end=1966 - _globals['_BANKBALANCE']._serialized_start=1968 - _globals['_BANKBALANCE']._serialized_end=2093 - _globals['_SUBACCOUNTDEPOSITS']._serialized_start=2095 - _globals['_SUBACCOUNTDEPOSITS']._serialized_end=2207 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=2209 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2303 - _globals['_SPOTORDER']._serialized_start=2305 - _globals['_SPOTORDER']._serialized_end=2400 - _globals['_DERIVATIVEORDER']._serialized_start=2402 - _globals['_DERIVATIVEORDER']._serialized_end=2528 - _globals['_POSITION']._serialized_start=2531 - _globals['_POSITION']._serialized_end=2880 - _globals['_ORACLEPRICE']._serialized_start=2882 - _globals['_ORACLEPRICE']._serialized_end=2988 - _globals['_SPOTTRADE']._serialized_start=2991 - _globals['_SPOTTRADE']._serialized_end=3330 - _globals['_DERIVATIVETRADE']._serialized_start=3333 - _globals['_DERIVATIVETRADE']._serialized_end=3680 - _globals['_TRADESFILTER']._serialized_start=3682 - _globals['_TRADESFILTER']._serialized_end=3740 - _globals['_POSITIONSFILTER']._serialized_start=3742 - _globals['_POSITIONSFILTER']._serialized_end=3803 - _globals['_ORDERSFILTER']._serialized_start=3805 - _globals['_ORDERSFILTER']._serialized_end=3863 - _globals['_ORDERBOOKFILTER']._serialized_start=3865 - _globals['_ORDERBOOKFILTER']._serialized_end=3902 - _globals['_BANKBALANCESFILTER']._serialized_start=3904 - _globals['_BANKBALANCESFILTER']._serialized_end=3942 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=3944 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=3994 - _globals['_ORACLEPRICEFILTER']._serialized_start=3996 - _globals['_ORACLEPRICEFILTER']._serialized_end=4031 - _globals['_STREAM']._serialized_start=4033 - _globals['_STREAM']._serialized_end=4136 + _globals['_STREAMRESPONSE']._serialized_end=1766 + _globals['_ORDERBOOKUPDATE']._serialized_start=1768 + _globals['_ORDERBOOKUPDATE']._serialized_end=1854 + _globals['_ORDERBOOK']._serialized_start=1857 + _globals['_ORDERBOOK']._serialized_end=1998 + _globals['_BANKBALANCE']._serialized_start=2000 + _globals['_BANKBALANCE']._serialized_end=2125 + _globals['_SUBACCOUNTDEPOSITS']._serialized_start=2127 + _globals['_SUBACCOUNTDEPOSITS']._serialized_end=2239 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=2241 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=2335 + _globals['_SPOTORDERUPDATE']._serialized_start=2338 + _globals['_SPOTORDERUPDATE']._serialized_end=2501 + _globals['_SPOTORDER']._serialized_start=2503 + _globals['_SPOTORDER']._serialized_end=2598 + _globals['_DERIVATIVEORDERUPDATE']._serialized_start=2601 + _globals['_DERIVATIVEORDERUPDATE']._serialized_end=2776 + _globals['_DERIVATIVEORDER']._serialized_start=2778 + _globals['_DERIVATIVEORDER']._serialized_end=2904 + _globals['_POSITION']._serialized_start=2907 + _globals['_POSITION']._serialized_end=3256 + _globals['_ORACLEPRICE']._serialized_start=3258 + _globals['_ORACLEPRICE']._serialized_end=3364 + _globals['_SPOTTRADE']._serialized_start=3367 + _globals['_SPOTTRADE']._serialized_end=3706 + _globals['_DERIVATIVETRADE']._serialized_start=3709 + _globals['_DERIVATIVETRADE']._serialized_end=4056 + _globals['_TRADESFILTER']._serialized_start=4058 + _globals['_TRADESFILTER']._serialized_end=4116 + _globals['_POSITIONSFILTER']._serialized_start=4118 + _globals['_POSITIONSFILTER']._serialized_end=4179 + _globals['_ORDERSFILTER']._serialized_start=4181 + _globals['_ORDERSFILTER']._serialized_end=4239 + _globals['_ORDERBOOKFILTER']._serialized_start=4241 + _globals['_ORDERBOOKFILTER']._serialized_end=4278 + _globals['_BANKBALANCESFILTER']._serialized_start=4280 + _globals['_BANKBALANCESFILTER']._serialized_end=4318 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=4320 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=4370 + _globals['_ORACLEPRICEFILTER']._serialized_start=4372 + _globals['_ORACLEPRICEFILTER']._serialized_end=4407 + _globals['_STREAM']._serialized_start=4487 + _globals['_STREAM']._serialized_end=4590 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/abci/types_pb2.py b/pyinjective/proto/tendermint/abci/types_pb2.py index 5862c885..60486546 100644 --- a/pyinjective/proto/tendermint/abci/types_pb2.py +++ b/pyinjective/proto/tendermint/abci/types_pb2.py @@ -19,7 +19,7 @@ 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\"1\n\x11RequestExtendVote\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x03\"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/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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -48,6 +48,12 @@ _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 @@ -82,10 +88,10 @@ _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=7757 - _globals['_CHECKTXTYPE']._serialized_end=7814 - _globals['_MISBEHAVIORTYPE']._serialized_start=7816 - _globals['_MISBEHAVIORTYPE']._serialized_end=7891 + _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 @@ -114,80 +120,80 @@ _globals['_REQUESTPREPAREPROPOSAL']._serialized_end=2387 _globals['_REQUESTPROCESSPROPOSAL']._serialized_start=2390 _globals['_REQUESTPROCESSPROPOSAL']._serialized_end=2687 - _globals['_REQUESTEXTENDVOTE']._serialized_start=2689 - _globals['_REQUESTEXTENDVOTE']._serialized_end=2738 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_start=2740 - _globals['_REQUESTVERIFYVOTEEXTENSION']._serialized_end=2849 - _globals['_REQUESTFINALIZEBLOCK']._serialized_start=2852 - _globals['_REQUESTFINALIZEBLOCK']._serialized_end=3146 - _globals['_RESPONSE']._serialized_start=3149 - _globals['_RESPONSE']._serialized_end=4233 - _globals['_RESPONSEEXCEPTION']._serialized_start=4235 - _globals['_RESPONSEEXCEPTION']._serialized_end=4269 - _globals['_RESPONSEECHO']._serialized_start=4271 - _globals['_RESPONSEECHO']._serialized_end=4302 - _globals['_RESPONSEFLUSH']._serialized_start=4304 - _globals['_RESPONSEFLUSH']._serialized_end=4319 - _globals['_RESPONSEINFO']._serialized_start=4321 - _globals['_RESPONSEINFO']._serialized_end=4443 - _globals['_RESPONSEINITCHAIN']._serialized_start=4446 - _globals['_RESPONSEINITCHAIN']._serialized_end=4604 - _globals['_RESPONSEQUERY']._serialized_start=4607 - _globals['_RESPONSEQUERY']._serialized_end=4789 - _globals['_RESPONSECHECKTX']._serialized_start=4792 - _globals['_RESPONSECHECKTX']._serialized_end=5048 - _globals['_RESPONSECOMMIT']._serialized_start=5050 - _globals['_RESPONSECOMMIT']._serialized_end=5101 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_start=5103 - _globals['_RESPONSELISTSNAPSHOTS']._serialized_end=5172 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_start=5175 - _globals['_RESPONSEOFFERSNAPSHOT']._serialized_end=5357 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_start=5263 - _globals['_RESPONSEOFFERSNAPSHOT_RESULT']._serialized_end=5357 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_start=5359 - _globals['_RESPONSELOADSNAPSHOTCHUNK']._serialized_end=5401 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_start=5404 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK']._serialized_end=5646 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_start=5550 - _globals['_RESPONSEAPPLYSNAPSHOTCHUNK_RESULT']._serialized_end=5646 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_start=5648 - _globals['_RESPONSEPREPAREPROPOSAL']._serialized_end=5686 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_start=5689 - _globals['_RESPONSEPROCESSPROPOSAL']._serialized_end=5842 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_start=5789 - _globals['_RESPONSEPROCESSPROPOSAL_PROPOSALSTATUS']._serialized_end=5842 - _globals['_RESPONSEEXTENDVOTE']._serialized_start=5844 - _globals['_RESPONSEEXTENDVOTE']._serialized_end=5888 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_start=5891 - _globals['_RESPONSEVERIFYVOTEEXTENSION']._serialized_end=6048 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_start=5997 - _globals['_RESPONSEVERIFYVOTEEXTENSION_VERIFYSTATUS']._serialized_end=6048 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_start=6051 - _globals['_RESPONSEFINALIZEBLOCK']._serialized_end=6344 - _globals['_COMMITINFO']._serialized_start=6346 - _globals['_COMMITINFO']._serialized_end=6421 - _globals['_EXTENDEDCOMMITINFO']._serialized_start=6423 - _globals['_EXTENDEDCOMMITINFO']._serialized_end=6514 - _globals['_EVENT']._serialized_start=6516 - _globals['_EVENT']._serialized_end=6620 - _globals['_EVENTATTRIBUTE']._serialized_start=6622 - _globals['_EVENTATTRIBUTE']._serialized_end=6681 - _globals['_EXECTXRESULT']._serialized_start=6684 - _globals['_EXECTXRESULT']._serialized_end=6898 - _globals['_TXRESULT']._serialized_start=6900 - _globals['_TXRESULT']._serialized_end=7006 - _globals['_VALIDATOR']._serialized_start=7008 - _globals['_VALIDATOR']._serialized_end=7051 - _globals['_VALIDATORUPDATE']._serialized_start=7053 - _globals['_VALIDATORUPDATE']._serialized_end=7138 - _globals['_VOTEINFO']._serialized_start=7140 - _globals['_VOTEINFO']._serialized_end=7263 - _globals['_EXTENDEDVOTEINFO']._serialized_start=7266 - _globals['_EXTENDEDVOTEINFO']._serialized_end=7450 - _globals['_MISBEHAVIOR']._serialized_start=7453 - _globals['_MISBEHAVIOR']._serialized_end=7663 - _globals['_SNAPSHOT']._serialized_start=7665 - _globals['_SNAPSHOT']._serialized_end=7755 - _globals['_ABCI']._serialized_start=7894 - _globals['_ABCI']._serialized_end=9331 + _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 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/tendermint/services/block/v1/block_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py new file mode 100644 index 00000000..7f25f3f4 --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_pb2.py @@ -0,0 +1,39 @@ +# -*- 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_pb2_grpc.py b/pyinjective/proto/tendermint/services/block/v1/block_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_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/services/block/v1/block_service_pb2.py b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py new file mode 100644 index 00000000..3d5428ad --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2.py @@ -0,0 +1,28 @@ +# -*- 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 new file mode 100644 index 00000000..4e204eb6 --- /dev/null +++ b/pyinjective/proto/tendermint/services/block/v1/block_service_pb2_grpc.py @@ -0,0 +1,141 @@ +# 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 new file mode 100644 index 00000000..bda9a9d6 --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2.py @@ -0,0 +1,33 @@ +# -*- 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_pb2_grpc.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_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/services/block_results/v1/block_results_service_pb2.py b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py new file mode 100644 index 00000000..37d3214f --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2.py @@ -0,0 +1,28 @@ +# -*- 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 new file mode 100644 index 00000000..12b3e5da --- /dev/null +++ b/pyinjective/proto/tendermint/services/block_results/v1/block_results_service_pb2_grpc.py @@ -0,0 +1,107 @@ +# 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 new file mode 100644 index 00000000..8f0a166f --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2.py @@ -0,0 +1,56 @@ +# -*- 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/pruning_pb2_grpc.py b/pyinjective/proto/tendermint/services/pruning/v1/pruning_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/pruning_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/services/pruning/v1/service_pb2.py b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py new file mode 100644 index 00000000..32f20cb6 --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2.py @@ -0,0 +1,27 @@ +# -*- 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 new file mode 100644 index 00000000..1f680821 --- /dev/null +++ b/pyinjective/proto/tendermint/services/pruning/v1/service_pb2_grpc.py @@ -0,0 +1,326 @@ +# 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 new file mode 100644 index 00000000..8d6d2b53 --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_pb2.py @@ -0,0 +1,29 @@ +# -*- 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_pb2_grpc.py b/pyinjective/proto/tendermint/services/version/v1/version_pb2_grpc.py new file mode 100644 index 00000000..2daafffe --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_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/services/version/v1/version_service_pb2.py b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py new file mode 100644 index 00000000..29d57e42 --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2.py @@ -0,0 +1,28 @@ +# -*- 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 new file mode 100644 index 00000000..4fa841b2 --- /dev/null +++ b/pyinjective/proto/tendermint/services/version/v1/version_service_pb2_grpc.py @@ -0,0 +1,89 @@ +# 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)